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

Skip to content

Commit 5464f3f

Browse files
committed
Small fixes
1 parent 8464167 commit 5464f3f

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

lib/matplotlib/units.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ def __init__(self, majloc=None, minloc=None,
6161
"""
6262
Parameters
6363
----------
64-
majloc, minloc :
64+
majloc, minloc
6565
TickLocators for the major and minor ticks.
66-
majfmt, minfmt :
66+
majfmt, minfmt
6767
TickFormatters for the major and minor ticks.
68-
label :
69-
The default axis label
70-
default_limits :
71-
The default min, max of the axis if no data is present
68+
label
69+
The default axis label.
70+
default_limits
71+
The default min, max of the axis if no data is present.
7272
7373
Notes
7474
-----
@@ -90,14 +90,17 @@ class ConversionInterface(object):
9090
"""
9191
@staticmethod
9292
def axisinfo(unit, axis):
93-
'''
94-
Return an `~units.AxisInfo` instance for axis with the specified units.
95-
'''
93+
"""
94+
Return an `~units.AxisInfo` instance for the axis with the
95+
specified units.
96+
"""
9697
return None
9798

9899
@staticmethod
99100
def default_units(x, axis):
100-
'Return the default unit for *x* or ``None`` for the given axis.'
101+
"""
102+
Return the default unit for *x* or ``None`` for the given axis.
103+
"""
101104
return None
102105

103106
@staticmethod
@@ -134,7 +137,9 @@ def __init__(self):
134137
self._cached = {}
135138

136139
def get_converter(self, x):
137-
'Get the converter interface instance for *x*, or ``None``.'
140+
"""
141+
Get the converter interface instance for *x*, or ``None``.
142+
"""
138143

139144
if not len(self):
140145
return None # nothing registered

0 commit comments

Comments
 (0)