Skip to content

Commit

Permalink
Merge pull request matplotlib#6314 from henningpohl/patch-1
Browse files Browse the repository at this point in the history
Only render markers on a line when markersize > 0
  • Loading branch information
tacaswell committed May 22, 2016
1 parent 6a1f3a5 commit 2f383e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/lines.py
Expand Up @@ -759,7 +759,7 @@ def draw(self, renderer):
drawFunc(renderer, gc, tpath, affine.frozen())
gc.restore()

if self._marker:
if self._marker and self._markersize > 0:
gc = renderer.new_gc()
self._set_gc_clip(gc)
rgbaFace = self._get_rgba_face()
Expand Down

0 comments on commit 2f383e5

Please sign in to comment.