Skip to content

Commit 855ed1b

Browse files
committed
Fix a bug for slopegraph
This bug is caused by mistake when making Sankey Diagram. The plot group for slopegraph and Sankey Diagram should be different.
1 parent 2f46706 commit 855ed1b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dabest/plotter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
404404
for i in temp_idx:
405405
temp_all_plot_groups.extend(list(i))
406406
if proportional==False:
407+
temp_idx = idx
408+
temp_all_plot_groups = all_plot_groups
407409
# Plot the raw data as a slopegraph.
408410
# Pivot the long (melted) data.
409411
if color_col is None:

0 commit comments

Comments
 (0)