Skip to content

Commit 910bfe5

Browse files
tacaswellQuLogic
andauthored
FIX: correct text of error message
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent eea3d1a commit 910bfe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
343343
def set_anchor(self, anchor, share=False):
344344
# docstring inherited
345345
if not (anchor in mtransforms.Bbox.coefs or len(anchor) == 2):
346-
raise ValueError('argument must be among %s' %
346+
raise ValueError('anchor must be among %s' %
347347
', '.join(mtransforms.Bbox.coefs))
348348
if share:
349349
axes = {*self._shared_x_axes.get_siblings(self),

0 commit comments

Comments
 (0)