Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing a problem with lost resolution in imshow #1645

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 27, 2020

  1. Fixing a problem with lost resolution in imshow

    imshow would assume an image would cover the whole plot which sometimes,
    when the intent was to just plot in a small part of the image resulted in
    a lot of lost resolution.
    
    This happened because the created mesh grid was stretched to cover the
    whole screen, and then only a small part of the mesh was actually used.
    
    The lost resolution was proportional to the amount of space the image
    used in the plot, so an image that was set to show in 10% of the width,
    only kept 10% of its resolution.
    
    There are other factors, like regrid_shape, that can also affect the
    resolution of the output and a very, very large regrid_shape could
    compensate for this problem at the cost of computation time.
    dbratell committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    24c2f62 View commit details
    Browse the repository at this point in the history