Weather forecast plot #834
Replies: 6 comments 4 replies
-
this really looks amazing and your |
Beta Was this translation helpful? Give feedback.
-
Very pretty visualization! |
Beta Was this translation helpful? Give feedback.
-
Ahoy @123-fake-st , |
Beta Was this translation helpful? Give feedback.
-
This is so well done. Amazing! |
Beta Was this translation helpful? Give feedback.
-
@123-fake-st, The winning submission has been announced here. Thank you for taking part in the contest. |
Beta Was this translation helpful? Give feedback.
-
Authors
123-fake-st
Links
github | LinkedIn
Full description
Weather forecast plot
A plot showing a 7-day weather forecast.
View the jupyter notebook for the code and a walkthrough of generating this plot including several prototypes working up to the final plot.
The code uses plotnine's
geom_path
,geom_label
, andwatermark
to build this plot.Two
geom_path
s are layered for the temperature ranges.scale
andtheme
settings polish the plot's look.Motivation
While working out what to do in this project I was motivated by these factors:
The data for this plot is quite simple and is very different from the large data sets I work with on a typical day.
However, creating the polished plot has some interesting challenges and I hope that even many experienced plotnine users will see this plot, wonder how it was made, and want to check out the code to understand it.
Other notes
I placed slightly tweaked code from the jupyter notebook into a python function that you can import and call to generate plots by providing your own forecast data.
Code repository
repo | jupyter notebook | README
Beta Was this translation helpful? Give feedback.
All reactions