Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/pylab_examples/legend_demo5.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def create_artists(self, legend, orig_handle,
lw = orig_handle.get_linewidths()[i]
except IndexError:
lw = orig_handle.get_linewidths()[0]
if dashes[0] != None:
if dashes[0] is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, I could have sworn we hunted all of these down awhile ago... merging

legline.set_dashes(dashes[1])
legline.set_color(color)
legline.set_transform(trans)
Expand Down