jupyter-widgets-contrib / ipycanvas

Interactive Canvas in Jupyter
https://ipycanvas.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
686 stars 64 forks source link

Make drawings part of the model #224

Open martinRenou opened 2 years ago

martinRenou commented 2 years ago

The fact that the drawings are not part of the widget model brings many issues:

We could make the drawings part of the model without altering performances, following the implementation we made for ipympl: https://github.com/matplotlib/ipympl/pull/376

martinRenou commented 2 years ago

We need a way to limit this model size though. Nothing would stop the user to make an enormous amount of drawings.