Skip to content

Commit 0186bf3

Browse files
alfaro96glemaitre
authored andcommitted
MNT Fix documentation build due to failure in plot_ica_vs_pca (scikit-learn#17629)
1 parent 947f542 commit 0186bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/decomposition/plot_ica_vs_pca.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def plot_samples(S, axis_list=None):
7070
x_axis, y_axis = axis
7171
# Trick to get legend to work
7272
plt.plot(0.1 * x_axis, 0.1 * y_axis, linewidth=2, color=color)
73-
plt.quiver(0, 0, x_axis, y_axis, zorder=11, width=0.01, scale=6,
74-
color=color)
73+
plt.quiver((0, 0), (0, 0), x_axis, y_axis, zorder=11, width=0.01,
74+
scale=6, color=color)
7575

7676
plt.hlines(0, -3, 3)
7777
plt.vlines(0, -3, 3)

0 commit comments

Comments
 (0)