Home > Mobile >  How to align the x position of the dots in seaborn scatterplot to a nested bar plot
How to align the x position of the dots in seaborn scatterplot to a nested bar plot

Time:08-02

I am trying to plot a scatter plot on top of a bar plot using sns.scatterplot() and df.plot(kind='bar'); The figure turns out to be fine, but it would be even nicer if I can align each of the scatter points to its corresponding bar with an identical label.

The current plot

I have read the combining seaborn dodged bar plot with scatter plot

  • Related