Closed maartenbreddels closed 2 months ago
feat: improve matplotlib support - as Jupyter
Several improvements:
We do this by checking if the env var 'MPLBACKEND' is not set, and if so, we set it to module://matplotlib_inline.backend_inline
This makes it behave more like the Jupyter notebook environment.
This makes code that 'just works' in the notebook also work in solara server. We patch global dicts with scoped dicts.
See #539
master
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @maartenbreddels and the rest of your teammates on Graphite
feat: improve matplotlib support - as Jupyter
Several improvements:
Default backend
We do this by checking if the env var 'MPLBACKEND' is not set, and if so, we set it to module://matplotlib_inline.backend_inline
Support for display(figure)
This makes it behave more like the Jupyter notebook environment.
Support matplotlib pylab interface in solara server
This makes code that 'just works' in the notebook also work in solara server. We patch global dicts with scoped dicts.
See #539