Skip to content

Commit db8b966

Browse files
authored
Merge pull request #813 from alemirone/master
Thanks!
2 parents 51e0ebb + d078e69 commit db8b966

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PyMca5/PyMcaGraph/backends/MatplotlibBackend.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ def addCurve(self, x, y, legend=None, info=None, replace=False, replot=True,
17161716
if selectable:
17171717
picker = True
17181718
else:
1719-
picker = None
1719+
picker = False
17201720
scatterPlot = False
17211721
if hasattr(color, "dtype"):
17221722
if len(color) == len(x):
@@ -2094,7 +2094,7 @@ def insertMarker(self, x, y, legend=None, text=None, color='k',
20942094
line = self.ax.plot(x, y, label=legend,
20952095
linestyle=" ",
20962096
color=color,
2097-
picker=None,
2097+
picker=False,
20982098
marker=symbol,
20992099
markersize=markersize)[-1]
21002100
if text is not None:
@@ -2605,7 +2605,7 @@ def addImage(self, data, legend=None, info=None,
26052605
if selectable or draggable:
26062606
picker = True
26072607
else:
2608-
picker = None
2608+
picker = False
26092609
shape = data.shape
26102610
if 0:
26112611
# this supports non regularly spaced coordenates!!!!

0 commit comments

Comments
 (0)