Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e245631

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/mpl_toolkits/mplot3d/axes3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/axes3d.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.