Skip to content

Commit

Permalink
Merge pull request #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 Apr 20, 2016
2 parents f00db67 + 1a02a27 commit f0b7026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/lines.py
Expand Up @@ -780,7 +780,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 f0b7026

Please sign in to comment.