python-public-policy icon indicating copy to clipboard operation
python-public-policy copied to clipboard

use matplotlib for charts

Open afeld opened this issue 1 year ago • 0 comments

Plotly has been a recurring pain in the neck, mainly around its dependencies:

https://github.com/afeld/python-public-policy/blob/aefb1fbd39e71f5908b2b6a1d6956da287c46a7f/extras/environment.yml#L24-L44

...and rendering in JupyterLab + the PDF export. Rendering images as data URLs using the plotting functionality built into pandas seems way simpler. Downside is that the charts aren't as cool.

afeld avatar Sep 21 '24 04:09 afeld