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

Only render markers on a line when markersize > 0 #6314

Merged
merged 1 commit into from Apr 20, 2016

Conversation

henningpohl
Copy link
Contributor

Fixes issue #6294 by only rendering markers when their size is larger than zero.

@mdboom mdboom added this to the 1.5.2 (Critical bug fix release) milestone Apr 18, 2016
@mdboom
Copy link
Member

mdboom commented Apr 18, 2016

👍 from me! Thanks for the pull request.

@jkseppan
Copy link
Member

👍 from me too

Is it possible to add a test to prevent regressions?

@henningpohl
Copy link
Contributor Author

So a test for whether indeed nothing is rendered? A problem here is that the #6294 bug occurs with the Adobe Acrobat renderer. During testing, the pdf for comparison is converted to png by Ghostscript. So the faulty behavior would not occur in this setup. Updating the testing to use Acrobat seems like a rather big change and would not work on all systems.

@jkseppan
Copy link
Member

Oh, I didn't realize the effect is only seen with Adobe's renderer.

@henningpohl
Copy link
Contributor Author

I'm not 100% sure it's only Acrobat, but I tested with Ghostscript 9.19 and those dots do not show up there.

@tacaswell tacaswell merged commit f0b7026 into matplotlib:master Apr 20, 2016
tacaswell added a commit that referenced this pull request Apr 20, 2016
Only render markers on a line when markersize > 0
@tacaswell
Copy link
Member

Thanks!

Backported to v1.5.x as 38d9638

@henningpohl henningpohl deleted the patch-1 branch April 20, 2016 07:57
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request May 22, 2016
Only render markers on a line when markersize > 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants