3 ms·
10 years ago I loathed doing plots in Matplotlib. When Plotly offline version matured (circa v 4) I moved over. Lately, I've found that matplotlib is just fin
by sireat 4y ago
10 years ago I loathed doing plots in Matplotlib.
When Plotly offline version matured (circa v 4) I moved over.
Lately, I've found that matplotlib is just fine for quick exploration when combined with Copilot prompts.
Instead of spending 20 minutes staring at matplotlib documentation, I can be done in 2 minutes with a prompt or two.
# my prompt can be something like get me horizontal bar chart of columns "foo" and "bar" from current dataframe. Rotate x axis ticks 45 degrees. Add y grid every 10 values. Use log scale for y. Add arrows with values for maximum values.
Use emojis for markers.
# result might require tiny bit of adjustment but will basically be there.
# Full disclosure: I haven't tried the emoji prompt...