Using Plotnine to plot values per month. Currently, the Months are ordered alphabetically on x axis. How to change this?
here is the code:
(ggplot(df, aes(x = 'Month', y='Rented Bike Count')) +
stat_summary(fun_data = 'mean_sdl', geom = 'bar') +
theme(axis_text_x = element_text(angle=90)))
just found out the solution: