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

Merged
merged 1 commit into from Apr 20, 2016

Conversation

Projects
None yet
4 participants
Contributor

henningpohl commented Apr 18, 2016

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

@henningpohl henningpohl Only render markers on a line when markersize > 0
1a02a27

mdboom added the needs_review label Apr 18, 2016

Owner

mdboom commented Apr 18, 2016

👍 from me! Thanks for the pull request.

Member

jkseppan commented Apr 19, 2016

👍 from me too

Is it possible to add a test to prevent regressions?

Contributor

henningpohl commented Apr 19, 2016

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.

Member

jkseppan commented Apr 19, 2016

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

Contributor

henningpohl commented Apr 19, 2016

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

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

tacaswell removed the needs_review label Apr 20, 2016

@tacaswell tacaswell added a commit that referenced this pull request Apr 20, 2016

@tacaswell tacaswell Merge pull request #6314 from henningpohl/patch-1
Only render markers on a line when markersize > 0
38d9638
Owner

tacaswell commented Apr 20, 2016

Thanks!

Backported to v1.5.x as 38d9638

henningpohl deleted the henningpohl:patch-1 branch Apr 20, 2016

@tacaswell tacaswell added a commit to tacaswell/matplotlib that referenced this pull request May 22, 2016

@tacaswell tacaswell Merge pull request #6314 from henningpohl/patch-1
Only render markers on a line when markersize > 0
2f383e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment