<div id="comment:0"></div> ipympl provides `%matplotlib widget`, which works in both the Jupyter notebook and JupyterLab. https://github.com/matplotlib/ipympl CC: @egourgoulhon @jcamp0x2a @NathanDunfield @culler @slel @EmmanuelCharpentier Component: **packages: optional** Author: **Matthias Koeppe** Branch/Commit: **[`3621bc4`](https://github.com/sagemath/sagetrac-mirror/commit/3621bc414a228f7009200b7c03194f79559cd5c7)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/31179_