Skip to content
Prev Previous commit
Next Next commit
Tiny change missing @story645
  • Loading branch information
alvarosg committed Dec 14, 2016
commit 331d5d34da8c9c03c3da6549747ac3499f2ff4ee
2 changes: 1 addition & 1 deletion lib/matplotlib/cbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@ def __init__(self, str_func):
"""

if not isinstance(str_func, six.string_types):
raise ValueError("'%s' is not a string." % str_func)
raise ValueError("'%s' must be a string." % str_func)
self._str_func = six.text_type(str_func)
self._key, self._params = self._get_key_params()
self._func = self._parse_func()
Expand Down