Skip to content

Commit 63ba9ff

Browse files
committed
minor fix
1 parent a652eb4 commit 63ba9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scikit_posthocs/_plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def critical_difference_diagram(
557557
plotted_bars_in_level.append(plotted_bar)
558558
crossbars.append(plotted_bars_in_level)
559559

560-
lowest_crossbar_ypos = -len(crossbar_levels)
560+
lowest_crossbar_ypos = -len(crossbars)
561561

562562
def plot_items(points, xpos, label_fmt, color_palette, label_props):
563563
"""Plot each marker + elbow + label."""

0 commit comments

Comments
 (0)