python-public-policy
python-public-policy copied to clipboard
use matplotlib for charts
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.