x_idx, y_idx = m.getXAxisIndex(), m.getYAxisIndex()
d = self._model.getTable().getData()
plots = self._mplAxes.plot(d[:, x_idx], d[:, y_idx], label=m._title, alpha = 1.,
- picker=self._PICKER_PRECISION)
+ picker=True)
self._mplArtist = plots[0]
+ self._mplArtist.set_pickradius(self._PICKER_PRECISION)
self._initialLineWidth = self._mplArtist.get_linewidth()
self._initialOpacity = self._mplArtist.get_alpha()
self._initialZOrder = self._mplArtist.get_zorder()
# picker for the stemlines
for lin in self._mplArtist[1]:
- lin.set_picker(self._PICKER_PRECISION)
+ lin.set_picker(True)
+ lin.set_pickradius(self._PICKER_PRECISION)
def update(self):
Logger.Debug("StemView::udpate")