def enter_axes(self, event):
#event.inaxes.patch.set_facecolor('yellow')
# ????axes????
if not self.in_qt:
axes = [ax for ax in self.fig.axes if ax is not event.inaxes]
self.v_cursor = MultiCursor(event.canvas, axes, color='r', lw=2, horizOn=False, vertOn=True)
self.cross_cursor = Cursor(event.inaxes, useblit=True, color='red', linewidth=2, vertOn=True, horizOn=True)
event.canvas.draw()
print("enter---")
评论列表
文章目录