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 851f25c commit 4e3bf78Copy full SHA for 4e3bf78
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