Skip to content

Commit dc235bc

Browse files
committed
Fix string comparison
1 parent 96522ff commit dc235bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def apply_callback(data):
217217
rgba = mcolors.to_rgba(color)
218218
line.set_alpha(None)
219219
line.set_color(rgba)
220-
if marker is not 'none':
220+
if marker != 'none':
221221
line.set_marker(marker)
222222
line.set_markersize(markersize)
223223
line.set_markerfacecolor(markerfacecolor)

0 commit comments

Comments
 (0)