Skip to content

Commit

Permalink
FIX: remove equality check in line2D.set_color
Browse files Browse the repository at this point in the history
Fixes problem identified in matplotlib#4771
  • Loading branch information
tacaswell committed Jul 24, 2015
1 parent 0d53ff5 commit 3b35f5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/matplotlib/lines.py
Expand Up @@ -932,9 +932,8 @@ def set_color(self, color):
ACCEPTS: any matplotlib color
"""
if color != self._color:
self.stale = True
self._color = color
self.stale = True

def set_drawstyle(self, drawstyle):
"""
Expand Down

0 comments on commit 3b35f5a

Please sign in to comment.