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.
2 parents 30e6bb7 + c28e1b0 commit 52b711fCopy full SHA for 52b711f
1 file changed
examples/pylab_examples/legend_demo5.py
@@ -41,7 +41,7 @@ def create_artists(self, legend, orig_handle,
41
lw = orig_handle.get_linewidths()[i]
42
except IndexError:
43
lw = orig_handle.get_linewidths()[0]
44
- if dashes[0] != None:
+ if dashes[0] is not None:
45
legline.set_dashes(dashes[1])
46
legline.set_color(color)
47
legline.set_transform(trans)
0 commit comments