Maybe workflow may not be the appropriate term. Essentially, when I want to plot something using matplotlib, I find myself having to look up the api docs or examples online because quite frankly, matplotlib’s syntax is very hard to remember. I use ipython and use tab browsing, help(), dir(), etc, and that seem to help to some extent. I absolutely love matplotlib, but when I want to put a chart up quickly, matplotlib is just a “hassle” depending on what chart you want to create. I do expect this since plotting with matplotlib, you are essentially creating a chart “programmatically”, instead of GUI interface environment. But still, I feel like an improvement could still be made in making charts simpler with matplotlib.
While surfing the web, I ran into this module called Canvas: https://github.com/mdipierro/canvas
Canvas appears to be what I am after or what I wish matplotlib’s future syntax should strive for.
Currently, I store my matplotlib chart source code in folders with the file name describing what chart it creates (for example, “box_plot.py” or “control_chart.py”, etc.) and use them as “cheat sheets” when I need to make a chart. I am curious what other matplotlib users do? Otherwise, I do find myself sometimes just creating the chart in Excel as a 1st option, and make charts in matplotlib if it is something Excel can’t handle.
Thanks in advance,
Daniel