8000 Shifted image extents in 2.0.0.b3 · Issue #6773 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
  • Shifted image extents in 2.0.0.b3 #6773
    Closed
    @QuLogic

    Description

    @QuLogic

    Comparing images in 1.5.2 and 2.0.0b3 shows a reasonably large change. Originally, I thought the sampling was just different and it was intended, but closer inspection seems to indicate that it might actually be a small shift in the extent.

    I don't have a simple example, but here are two from Cartopy to illustrate what I mean:
    global_map_v1.5.2
    global_map_v2.0.0b3
    If you switch between them, you can see that 2.0.0b3 seems higher, though I think it's actually the right edge that's a bit further out.

    A better example is:
    imshow_regional_projected_v1.5.2
    imshow_regional_projected_v2.0.0b3
    It's clear on this one that the image is just a bit wider in 2.0.0b3 vs 1.5.2.

    The code for these two plots is global_map.py and test_regional_projected.

    It looks like one edge is off-by-one or something, but it's also possible that the transforms were just corrected in some way.

    Metadata

    Metadata

    Assignees

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0