Skip to content

Commit eab74da

Browse files
committed
remove redundant line
1 parent 27dd4a3 commit eab74da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

galleries/examples/specialty_plots/ishikawa_diagram.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,10 @@ def causes(data: list, cause_x: float, cause_y: float,
9292
[-0.92, [-2, 2]],
9393
[1.15, [2.5, -2.5]]]
9494
if top:
95-
cause_x -= coords[index][0]
9695
cause_y += coords[index][1][0]
9796
else:
98-
cause_x -= coords[index][0]
9997
cause_y += coords[index][1][1]
98+
cause_x -= coords[index][0]
10099

101100
ax.annotate(cause, xy=(cause_x, cause_y),
102101
horizontalalignment='center',

0 commit comments

Comments
 (0)