Skip to content

Commit

Permalink
Fix syntax warning about "is not" vs "!="
Browse files Browse the repository at this point in the history
  • Loading branch information
Pieter van Goor committed Apr 6, 2021
1 parent 8dfe8f1 commit 289febe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpldatacursor/datacursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def filter_artists(artists):

self._annotation_kwargs = kwargs
self.annotations = {}
if self.display is not 'multiple':
if self.display != 'multiple':
for ax in self.axes:
self.annotations[ax] = self.annotate(ax, **kwargs)
# Hide the annotation box until clicked...
Expand Down

0 comments on commit 289febe

Please sign in to comment.