This is an example page for the
jp_doodle
package.
jp_doodle
makes implementing special purpose interactive visualizations easy.
Quick references: Javascript API; Python API.
Miscellaneous Demos: Image detail viewer..
These example pages use stand alone Javascript, but the code used to implement them can be transliterated to Python and implemented using Jupyter widgets (modulo some subtleties).reset_canvas
method
to switch between diffferent interaction modes: beginning the polygon,
continuing the polygon, or finishing the polygon.
Note that the transition between "start" and "continue" is delayed to prevent the new mode from possibly responding to duplicated mouse clicks.