Skip to content

backend_pdf has a FutureWarning #4078

Closed
@WeatherGod

Description

@WeatherGod

While running mplot3d tests, I get that numpy FutureWarning about comparing against None, but this time in backend_pdf!

/home/ben/.local/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/backends/backend_pdf.py:2277: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
  different = bool(ours != theirs)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions