8000 Fix new pep8 issue in legend_demo5 · matplotlib/matplotlib@4e3bf78 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e3bf78

Browse files
jenshnielsenQuLogic
authored andcommitted
Fix new pep8 issue in legend_demo5
1 parent 851f25c commit 4e3bf78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/legend_demo5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def create_artists(self, legend, orig_handle,
4141
lw = orig_handle.get_linewidths()[i]
4242
except IndexError:
4343
lw = orig_handle.get_linewidths()[0]
44-
if dashes[0] != None:
44+
if dashes[0] is not None:
4545
legline.set_dashes(dashes[1])
4646
legline.set_color(color)
4747
legline.set_transform(trans)

0 commit comments

Comments
 (0)
0