Author Topic: Is there any wizard for pyplot charts?  (Read 491 times)

0 Members and 1 Guest are viewing this topic.

Online RoGeorgeTopic starter

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Is there any wizard for pyplot charts?
« on: December 25, 2023, 11:16:58 am »
Pyplot is great, though each time I want to be more specific with a chart, I have to search online for hours until I find the right options and the right syntax to produce the desired look.

Is there any helper, preferably an offline GUI, from where to configure the appearance of a chart, and from which to generate the corresponding pyplot code, so to embed that code in my programs?

Something like the charts wizard from any spreadsheet would be enough, doesn't has to cover each and every pyplot feature.  I've searched for 'pyplot wizard' and couldn't find any.

If no wizard tool, then what to use for discoverability?  How to personalize a pyplot chart without spending half a day digging through the docs and through stackoverflow?
« Last Edit: December 25, 2023, 11:19:24 am by RoGeorge »
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3785
  • Country: de
Re: Is there any wizard for pyplot charts?
« Reply #1 on: December 25, 2023, 04:49:30 pm »
There isn't a wizard.

Quote
If no wizard tool, then what to use for discoverability?  How to personalize a pyplot chart without spending half a day digging through the docs and through stackoverflow?

Did you actually try to look at the Matplotlib documentation? It is excellent and the example page shows both various plots and the code needed to produce them. It is quite easy to crib the bits you need from there.

https://matplotlib.org/stable/gallery/index.html

And I hope you have spent a bit of time with the tutorial and documentation in general:

https://matplotlib.org/stable/tutorials/index.html

https://matplotlib.org/stable/users/index.html

You can also always try to have something like ChatGPT generate the code for you but the quality will inevitably wary. Caveat emptor.
« Last Edit: December 25, 2023, 04:51:03 pm by janoc »
 

Offline KE5FX

  • Super Contributor
  • ***
  • Posts: 1894
  • Country: us
    • KE5FX.COM
Re: Is there any wizard for pyplot charts?
« Reply #2 on: December 25, 2023, 05:03:54 pm »
Exactly, give ChatGPT 4 a try.  It's unreasonably effective at turning English into Python.
 

Online RoGeorgeTopic starter

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: Is there any wizard for pyplot charts?
« Reply #3 on: December 25, 2023, 08:49:14 pm »
Thank you, will stay with the tedious search and copy/paste stitching, then.  :-//

Meanwhile, found it to be more productive to export to LTspice, and visualize the data as LTspice plots.  :D

Online abeyer

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: us
Re: Is there any wizard for pyplot charts?
« Reply #4 on: December 25, 2023, 11:59:57 pm »
I find Lux useful for quick exploratory stuff initially, and you can grab its outputs as code to then customize if you want to tweak them or do something similar that it doesn't on its own. Also sometimes streamlit for tweaking values/ranges/etc... too, if that's a need.
 

Online RoGeorgeTopic starter

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: Is there any wizard for pyplot charts?
« Reply #5 on: December 30, 2023, 08:24:51 am »
In the official pyplot tutorials, there is a link to this blog post:
https://pbpython.com/effective-matplotlib.html  :-+

I wish I could have read that post before using matplotlib.
Good as pyplot reminder brief for the infrequent user, too.




Source:  https://pbpython.com/effective-matplotlib.html


Source:  https://matplotlib.org/2.0.2/faq/usage_faq.html

https://matplotlib.org/cheatsheets/
« Last Edit: December 30, 2023, 08:31:48 am by RoGeorge »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf