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 42e3742

Browse filesBrowse files
anntzerMeeseeksDev[bot]
authored andcommitted
Backport PR #9428: Fix NameError: name 'ArgumentError' is not defined
1 parent 50f1f1f commit 42e3742
Copy full SHA for 42e3742

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/mathtext.py

Copy file name to clipboardExpand all lines: lib/matplotlib/mathtext.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ def __init__(self, glue_type, copy=False):
18381838
elif isinstance(glue_type, GlueSpec):
18391839
glue_spec = glue_type
18401840
else:
1841-
raise ArgumentError("glue_type must be a glue spec name or instance.")
1841+
raise ValueError("glue_type must be a glue spec name or instance.")
18421842
if copy:
18431843
glue_spec = glue_spec.copy()
18441844
self.glue_spec = glue_spec

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.