文章目录
Cursor
- Cursor
- 实现代码
- 结果演示
- 异常情况
-
- 解决方法
Cursor水平和/或垂直跨越轴并随鼠标光标移动。
ax
: Axes to attach the cursor to.horizOn
:To draw the horizontal line(default: True). (Optional Parameter)vertOn
:To draw the vertical line(default: True). (Optional Parameter)useblit
:Use blitting for faster drawing if supported by the backend(default: False). (Optional Parameter)**lineprops
:Line properties to control appearance of the lines(linewidth, color). (Optional Parameter)