[Matplotlib-users] which IDE ?

Scott Lasley selasley at icloud.com
Sun May 17 14:23:06 EDT 2020


Hi Vincent,

You may want to try Jupyter notebooks or Jupyterlab with the %matplotlib magics.  You can modify the code in a cell, re-run it and see the updated plot in the notebook window.  When you're happy with the results, copy-paste the code into a .py file for use outside of the notebook.  Here are a few links in case you are not familiar with Jupiter
https://jupyter.org
https://realpython.com/jupyter-notebook-introduction/
https://jupyterlab.readthedocs.io/en/stable/
https://medium.com/@1522933668924/using-matplotlib-in-jupyter-notebooks-comparing-methods-and-some-tips-python-c38e85b40ba1  (April 2018)
https://www.youtube.com/watch?v=7jiPeIFXb6U&list=PL055Epbe6d5b572IRmYAHkUgcq3y6K3Ae&index=32&t=0s  (Joel Grus "I Don't Like Notebooks" talk at 2018 Jupytercon)


The free Visual Studio Code IDE supports Jupyter notebooks and can display Matplotlib plots in the IDE -
https://code.visualstudio.com/docs/python/data-science-tutorial
If you are looking for a commercial IDE, the pro version of PyCharm has a scientific mode that displays plots in their own tab - 
https://www.jetbrains.com/help/pycharm/matplotlib-support.html
and the Wing IDE can display plots in the IDE - 
https://wingware.com/blog/matplotlib

Hope this helps,
Scott

> On May 17, 2020, at 1:01 AM, Vincent Douce Mathoscope <mathoscope at netcourrier.com> wrote:
> 
> hi
> when i am creating Matplotlib figures
> i edit the python code in some text editor
> then i run it in the temrinal
> then the picture appears in an external app whose icon is a rocket
> then to modify the code and see the result i have to close the rocket window etc..
> it is not so fluid as protocol
> my question is :
> do you use any IDE more ergonomic than my protocol ?
> thanks
> Vincent
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users



More information about the Matplotlib-users mailing list