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

Skip to content

Commit f1390dd

Browse files
committed
DOC/STY: whitespace and docstring fixes
Remove trailing whitespace and correct docstring for StrCategoryLocator and StrCategoryFormatter init methods.
1 parent 33bd5ed commit f1390dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/category.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
The module uses Matplotlib's `matplotlib.units` mechanism to convert from
1111
strings to integers, provides a tick locator and formatter, and the
12-
class:`.UnitData` that creates and stores the string-to-integer mapping.
12+
class:`.UnitData` that creates and stores the string-to-integer mapping.
1313
"""
1414
from __future__ import (absolute_import, division, print_function,
1515
unicode_literals)
@@ -124,7 +124,7 @@ def __init__(self, units_mapping):
124124
"""
125125
Parameters
126126
-----------
127-
units: dict
127+
units_mapping : Dict[str, int]
128128
string:integer mapping
129129
"""
130130
self._units = units_mapping
@@ -142,7 +142,7 @@ def __init__(self, units_mapping):
142142
"""
143143
Parameters
144144
----------
145-
units: dict
145+
units_mapping : Dict[Str, int]
146146
string:integer mapping
147147
"""
148148
self._units = units_mapping

0 commit comments

Comments
 (0)