Make ipympl a standard package

69 views
Skip to first unread message

Eric Gourgoulhon

unread,
Sep 17, 2023, 11:14:09 AMSep 17
to sage-devel
Hi Sage dev,

In PR #36129, which is devoted to the upgrade to Jupyter Notebook 7, we are proposing to make ipympl a standard package.
ipympl is a pip-installable package that enables using the interactive features of Matplotlib in Jupyter Notebook and Jupyterlab, via the magic %matplotlib widget or %matplotlib ipympl, cf. https://matplotlib.org/ipympl/
Here is an example of use in Sage:
With this package, matplotlib.pyplot (the standard "plt") becomes interactive (e.g. one can zoom  and scroll with the mouse), which is quite nice. 

Please give your opinion about making ipympl a standard package. 

Eric. 

Dima Pasechnik

unread,
Sep 17, 2023, 1:17:33 PMSep 17
to sage-devel
yes, +1

Dima


Eric. 

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/fe46cb71-7031-4254-be81-ec1d29900348n%40googlegroups.com.

sage-devel

unread,
Sep 19, 2023, 1:04:58 PMSep 19
to sage-devel
+1, it's a useful tiny package and unproblematic to install.

G. M.-S.

unread,
Sep 19, 2023, 1:46:41 PMSep 19
to sage-...@googlegroups.com

+1

Guillermo

Kwankyu Lee

unread,
Sep 19, 2023, 2:56:51 PMSep 19
to sage-devel
Hi Eric,

I see no interaction in the "test_display" notebook rendered by nbviewer. If you provide the latest version of the notebook, I can put it into the notebooks directory

Eric Gourgoulhon

unread,
Sep 19, 2023, 3:06:42 PMSep 19
to sage-devel
Hi Kwankyu,

Le mardi 19 septembre 2023 à 20:56:51 UTC+2, Kwankyu Lee a écrit :
Hi Eric,

I see no interaction in the "test_display" notebook rendered by nbviewer.

This is a limitation of nbviewer.  

If you provide the latest version of the notebook, I can put it into the notebooks directory

The notebook is here:
(you can see it by clicking on the Github icon in the nbviewer top right menu).

Best wishes,

Eric.

Eric Gourgoulhon

unread,
Sep 19, 2023, 4:02:35 PMSep 19
to sage-devel
PS: I've just updated the notebook for checking that long math expressions are wrapped. 
Reply all
Reply to author
Forward
0 new messages