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

Skip to content

Commit f37aa9c

Browse files
authored
Fix grammar
1 parent ffdc34c commit f37aa9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/category.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def default_units(data, axis):
115115
def _validate_unit(unit):
116116
if not hasattr(unit, '_mapping'):
117117
raise ValueError(
118-
f'Provided unit "{unit}" is not a valid for a categorical '
118+
f'Provided unit "{unit}" is not valid for a categorical '
119119
'converter, as it does not have a _mapping attribute.')
120120

121121

0 commit comments

Comments
 (0)