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).
Please see the Jupyter notebooks in the package for additional
discussion and documentation.
Please use
Binder
to easily run the Jupyter notebooks of the package.
Images
You can draw images on canvases in two steps.
First you must load the image and identify it with a name,
and afterward you can draw the image any number of times
by providing x, y corner coordinates with width and height.
You may also specify a rectangle inside the image to draw.
Discussion
This example demonstrates dynamically adjusting a window within an image.