X Tutup
Skip to content

imshow seems to "shift" grid. #7642

@flamingbear

Description

@flamingbear

When I try to us axes.imshow in matplotlib with a grid of known size and shape,
and then later read the png data, the image's data changes (is shifted) compared to the
input gridded data.

There may be a flag or option that I'm just not aware of, so I would love any help to prevent this shift.

Please see the gist included below for a self contained example.

To help us understand and resolve your issue please check that you have provided
the information below.

  • [x ] Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)
 $ python --version
Python 3.5.2
vagrant@vmsnowoffpiste ~/projects/cartopy-why (master *=)
 $ conda list | grep matplotlib
matplotlib                1.5.3               np111py35_3    conda-forge/channel/main

I also ran my test code on macosx+conda with the same results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup