小部件# 如何在 matplotlib 中编写原始但与 GUI 无关的小部件示例 带注释的光标 Annotated cursor 按钮 Buttons 检查按钮 Check buttons 光标 Cursor Lasso 选择器 Lasso Selector 菜单 Menu 鼠标光标 Mouse Cursor 多光标 Multicursor 使用多边形选择器从集合中选择索引 Select indices from a collection using polygon selector 多边形选择器 Polygon Selector 单选按钮 Radio Buttons 使用 RangeSlider 进行图像缩放 Image scaling using a RangeSlider 矩形和椭圆选择器 Rectangle and ellipse selectors 滑块 Slider 将滑块吸附到离散值 Snap sliders to discrete values Span Selector Span Selector 文本框 Textbox