Note
Go to the end to download the full example code.
1D Vertical Line Widget#
A draggable vertical line on a 1-D plot panel.
Add it with add_vline_widget().
Drag the line left or right to change the selected x position.
Total running time of the script: (0 minutes 0.021 seconds)