Skip to content

Commit 24a5d58

Browse files
authored
Merge pull request matplotlib#12881 from timhoffm/fix-string-comparision
Fix string comparison
2 parents cb8969f + dc235bc commit 24a5d58

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)