nrennie / nrennie.github.io-comments

Repository to host Utterances for blog.
2 stars 0 forks source link

blog/plotnine-annotated-area-chart/ #21

Open utterances-bot opened 3 months ago

utterances-bot commented 3 months ago

Annotated area charts with plotnine | Nicola Rennie

The plotnine visualisation library brings the Grammar of Graphics to Python. This blog post walks through the process of creating a customised, annotated area chart of coal production data.

https://nrennie.rbind.io/blog/plotnine-annotated-area-chart/?utm_campaign=Data_Elixir&utm_source=Data_Elixir_493

ArchXOX commented 3 months ago

In the 'Applying text styling with highlight text' section, on using the code I am only getting the annotations without the graph. Can someone help?

nrennie commented 3 months ago

@ArchXOX I'm not sure why it's not showing. I would start by checking if you're using different versions of packages by looking at the requirments.txt file here (then try running the plot.py script in the same repository): https://github.com/nrennie/2024-plotnine-contest