Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e245631

Browse files
authored
Merge pull request #10588 from boazmohar/boazmohar-axes3d-exception
Bugfix in axes3d not raising an exception
2 parents bd015d0 + ee45790 commit e245631

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
@@ -2632,8 +2632,8 @@ def calc_arrow(uvw, angle=15):
26322632
# handle args
26332633
argi = 6
26342634
if len(args) < argi:
2635-
ValueError('Wrong number of arguments. Expected %d got %d' %
2636-
(argi, len(args)))
2635+
raise ValueError('Wrong number of arguments. Expected %d got %d' %
2636+
(argi, len(args)))
26372637

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

0 commit comments

Comments
 (0)