I am trying to create a grouped bar chart using plotnine ggplot.
As you can see the x tick marks are too close to each other and the labels are cluttered. How can I increase the distance between these tick labels?
ggplot(test, aes(x = 'genre_pairs', y = 'average_rating', fill = 'group'))
+geom_bar(stat = "identity", position = position_dodge())
+scale_x_discrete (expand = np.array([0.2,0]))
is what I have so far