Skip to content

Commit cc5c1bc

Browse files
authored
Clarifying an error message
1 parent 1fc18be commit cc5c1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def _plot_args(self, tup, kwargs):
350350
# to one element array of None which causes problems
351351
# downstream.
352352
if any(v is None for v in tup):
353-
raise ValueError("x and y must not be None")
353+
raise ValueError("x, y, and format string must not be None")
354354

355355
kw = {}
356356
for k, v in zip(('linestyle', 'marker', 'color'),

0 commit comments

Comments
 (0)