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
Problems with image sizes #1513
Comments
Hi @flamingbear, The best place to ask these general usage questions is either on the matplotlib-user mailinglist or StackOverflow (http://matplotlib.org/1.2.0/faq/troubleshooting_faq.html#getting-help) - it's easier for other users who have similar issues to find a solution to their problem rather than having to trawl through our (often fairly verbose 😄 ) development tickets. If you want to post to either of these sources I would be happy to copy over the following answer: The
I hope that helps you. I'll close this issue, but if you do want further help/advice please let us know via the mailing list. All the best, Phil |
Hi Phil, That actually helps me see where I should post my question, but I don't believe your answer addresses my issue. What's in my code, doesn't use basemap at all, it's simply putting a rectangle and setting some ranges on it and the difference I will repost my question somewhere. Thanks |
Hi, I'm filing this here after submitting to basemap.
What I'm seeing is that under some circumstances, when I am trying to create an image with an exact shape/size specifications, I get unexpected behavior. I wouldn't expect that a small change in the limits of my data would cause this type of change.
I'm including code that creates 800x1399 images when I expect 800x1400 images. In the code are comments showing how to reproduce the bug.
Images:
Aspect for 800x1399 = 1.74875
Aspect for 800x1400 = 1.75
Data values:
Wrong size image:
27.999999999999994670 / 16.
aspect => 1.7499999999999996
Right sized image:
27.999999999999994671 / 16.
aspect => 1.7499999999999998
Cheers,
Matt
The text was updated successfully, but these errors were encountered: