Python: seaborn pointplot and boxplot in one plot but shifted on the x-axis
问题 I want to plot both a boxplot and the mean in one figure. So far my plot looks like this using these lines of code: sns.swarmplot(x="stimulus", y="data", data=spi_num.astype(np.float), edgecolor="black", linewidth=.9) sns.boxplot(x="stimulus", y="data", data=spi_num.astype(np.float), saturation=1) sns.pointplot(x="stimulus", y="data", data=spi_num.astype(np.float), linestyles='', scale=1, color='k', errwidth=1.5, capsize=0.2, markers='x') sns.pointplot(x="stimulus", y="data", data=spi_num