We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f771c6f commit b2846ddCopy full SHA for b2846dd
1 file changed
dabest/plotter.py
@@ -794,6 +794,7 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
794
ylim_delta = delta_axes.get_ylim()
795
ylim=(min(ylim_contrast[0], ylim_delta[0]), max(ylim_contrast[1], ylim_delta[1]))
796
contrast_axes.set_ylim(ylim)
797
+ delta_axes.set_ylim(ylim)
798
799
if is_paired == "baseline" and show_pairs == True:
800
rightend_ticks_raw = np.array([len(i)-1 for i in temp_idx]) + np.array(temp_ticks_to_skip)
@@ -852,6 +853,7 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
852
853
sns.despine(ax=delta_axes, bottom=True)
854
855
xlim = delta_axes.get_xlim()
856
+ ylim = delta_axes.get_ylim()
857
redraw_axes_kwargs['y'] = ylim[0]
858
859
delta_axes.hlines(xmin=0, xmax=0.5, **redraw_axes_kwargs)
0 commit comments