top | item 43322882

Show HN: Style Matplotlib Plots in the Browser

2 points| 1bit_e | 11 months ago |plot2plot.com

Hi HN! A friend and I built a web tool for creating and styling matplotlib plots in the browser. You can try it out at https://www.plot2plot.com/

We think this tool is a great resource for beginners and Pyhton data scientists. It displays a component tree of the plot, lets you tweak methods and arguments interactively, and generates the corresponding Python code—so you can copy, paste, and reproduce the exact plot in your scripts.

The idea comes from personal necessity while using matplotlib and trying to make the plots not awful. The thought was: Is there no WYSIWYG for matplotlib? Even if its just to test different line colors quickly?

So, we made this tool that shows a component tree of the matplotlib plot, and within each component one can browse the available methods and arguments, test and play with them. The tool also generates the code so that you can just copy and paste into your own code and get the same result!

In the future we want to include other libraries such as Seaborn, but we had to start somewhere. The website is in active development as we add new functions and plot types.

Maybe in the era of AI this tool is not as useful as it would have been a few years ago, but we loved the development process and having a free tool for others to enjoy. Its our small way of giving back to the Python community.

discuss

order

No comments yet.