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

Skip to content

Commit a0878c7

Browse files
authored
Merge pull request #9430 from matplotlib/auto-backport-of-pr-9428
Backport PR #9428 on branch v2.1.x
2 parents bb96c2a + 42e3742 commit a0878c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/mathtext.py

Lines 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)