-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Drifted marker positions #8533
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
Comments
@marko-pi could you summarize the stackoverflow question here in case the link goes bad? Also, could you make more clear what your proposed solution is and provide a more descriptive title for the issue? |
This is a duplicate of #7233 which is due to an underlying optimization ('stamping' the markers). |
@tacaswell I agree, this is the duplicate of #7233, #7262 and possibly others. Will the third report of the same problem make it more urgent? |
I am unclear if this is a regression or an issue that we have always had an no one noticed. |
It is a regression between 1.3 and 1.4 (#7262 (comment)). |
Matplotlib draws markers centered around individual pixels of the picture, which means that actual marker coordinates are approximated. This is a considerable problem when smaller resolution plots are required (e.g. creating videos). In particular, markers with slightly different coordinates are displayed on the same position.
For MWE below, all six points have different ordinate values, yet it seems as if points 2,3 and points 4,5,6 have the same value.
MWE:
According to my visual experience, about two intermediate steps should be included so that the problem is no longer perceived.
The problem can be worked around by creating larger resolution plots and then downscaling them, which is sometimes a tedious process with bad side effects.
This problem was also reported on Stackoverflow:
http://stackoverflow.com/questions/43589568/increase-point-drawing-precision/
Best regards
The text was updated successfully, but these errors were encountered: