File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
453453
454454 # Plot effect sizes and bootstraps.
455455 # Take note of where the `control` groups are.
456- if is_paired == "baseline" :
456+ if is_paired == "baseline" and show_pairs == True :
457457 ticks_to_skip = np .arange (0 , len (temp_all_plot_groups ), 2 ).tolist ()
458458 ticks_to_plot = np .arange (1 , len (temp_all_plot_groups ), 2 ).tolist ()
459459 ticks_to_skip_contrast = np .cumsum ([(len (t )- 1 )* 2 for t in idx ])[:- 1 ].tolist ()
@@ -712,7 +712,7 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
712712 if contrast_ylim_low < 0 < contrast_ylim_high :
713713 contrast_axes .axhline (y = 0 , ** reflines_kwargs )
714714
715- if is_paired == "baseline" :
715+ if is_paired == "baseline" and show_pairs == True :
716716 rightend_ticks_raw = np .array ([len (i )- 1 for i in temp_idx ]) + np .array (ticks_to_skip )
717717 for ax in [rawdata_axes ]:
718718 sns .despine (ax = ax , bottom = True )
You can’t perform that action at this time.
0 commit comments