Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a9e10 commit e7a2e52Copy full SHA for e7a2e52
1 file changed
lib/matplotlib/lines.py
@@ -1002,6 +1002,8 @@ def set_drawstyle(self, drawstyle):
1002
raise ValueError('Unrecognized drawstyle {!r}'.format(drawstyle))
1003
if self._drawstyle != drawstyle:
1004
self.stale = True
1005
+ # invalidate to trigger a recache of the path
1006
+ self._invalidx = True
1007
self._drawstyle = drawstyle
1008
1009
def set_linewidth(self, w):
0 commit comments