8000 Backport PR #10588: Bugfix in axes3d not raising an exception · matplotlib/matplotlib@9317fc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9317fc1

Browse files
timhoffmMeeseeksDev[bot]
authored andcommitted
Backport PR #10588: Bugfix in axes3d not raising an exception
1 parent 4db6224 commit 9317fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2637,8 +2637,8 @@ def calc_arrow(uvw, angle=15):
26372637
# handle args
26382638
argi = 6
26392639
if len(args) < argi:
2640-
ValueError('Wrong number of arguments. Expected %d got %d' %
2641-
(argi, len(args)))
2640+
raise ValueError('Wrong number of arguments. Expected %d got %d' %
2641+
(argi, len(args)))
26422642

26432643
# first 6 arguments are X, Y, Z, U, V, W
26442644
input_args = args[:argi]

0 commit comments

Comments
 (0)
0