I am trying to create an hourly heatmap from within Python. A code example of this graph made in R is available here: r-graph-gallery.com/283-the-hourly-heatmap.html. It relies on ggplot2.
There also is a Python implementation of ggplot2 called plotnine: github.com/has2k1/plotnine
Anybody able to “translate” from R to Python?

Here's a simple recreation in
plotninedocs using a small dataset. Most of thegeom_*elements fromggplot2are implemented (mostly with underscores replacing dots in names). If you want to maintain theRflavor of directly calling thegeom_*functions, you can just change the first line tofrom plotnine import *.