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

Disable snapping to avoid losing short segments in PNG output #615

Merged
merged 1 commit into from
May 11, 2021

Conversation

tskir
Copy link
Collaborator

@tskir tskir commented May 9, 2021

Fixes #604. As a consequence of default behaviour of matplotlib.pyplot.plot(), some very short lines/segments can disappear from rasterised output depending on DPI settings. Explicitly disabling snapping fixes this.

Fixes #604. As a consequence of default behaviour of
matplotlib.pyplot.plot(), some very short lines/segments can disappear
from rasterised output depending on DPI settings. Explicitly disabling
snapping fixes this.
Copy link
Owner

@etal etal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic. Thanks!

@etal etal merged commit d4145c5 into master May 11, 2021
@tskir tskir deleted the 604-fix-disappearing-segments branch June 23, 2021 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get unequal plot with same input
2 participants