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

Skip to content

Commit f516c47

Browse files
authored
Merge pull request #11064 from timhoffm/doc-minor-format-cleanup
Minor docstring format cleanup
2 parents 3719994 + b83a9eb commit f516c47

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

lib/matplotlib/artist.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -548,17 +548,17 @@ def get_sketch_params(self):
548548
-------
549549
sketch_params : tuple or `None`
550550
551-
A 3-tuple with the following elements:
551+
A 3-tuple with the following elements:
552552
553-
* `scale`: The amplitude of the wiggle perpendicular to the
554-
source line.
553+
* `scale`: The amplitude of the wiggle perpendicular to the
554+
source line.
555555
556-
* `length`: The length of the wiggle along the line.
556+
* `length`: The length of the wiggle along the line.
557557
558-
* `randomness`: The scale factor by which the length is
559-
shrunken or expanded.
558+
* `randomness`: The scale factor by which the length is
559+
shrunken or expanded.
560560
561-
May return `None` if no sketch parameters were set.
561+
May return `None` if no sketch parameters were set.
562562
"""
563563
return self._sketch
564564

lib/matplotlib/backend_bases.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,17 +1173,17 @@ def get_sketch_params(self):
11731173
-------
11741174
sketch_params : tuple or `None`
11751175
1176-
A 3-tuple with the following elements:
1176+
A 3-tuple with the following elements:
11771177
1178-
* `scale`: The amplitude of the wiggle perpendicular to the
1179-
source line.
1178+
* `scale`: The amplitude of the wiggle perpendicular to the
1179+
source line.
11801180
1181-
* `length`: The length of the wiggle along the line.
1181+
* `length`: The length of the wiggle along the line.
11821182
1183-
* `randomness`: The scale factor by which the length is
1184-
shrunken or expanded.
1183+
* `randomness`: The scale factor by which the length is
1184+
shrunken or expanded.
11851185
1186-
May return `None` if no sketch parameters were set.
1186+
May return `None` if no sketch parameters were set.
11871187
"""
11881188
return self._sketch
11891189

lib/matplotlib/backend_managers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, name, sender, message):
4242

4343
class ToolManager(object):
4444
"""
45-
Helper class that groups all the user interactions for a Figure
45+
Helper class that groups all the user interactions for a Figure.
4646
4747
Attributes
4848
----------
@@ -90,12 +90,12 @@ def figure(self, figure):
9090

9191
def set_figure(self, figure, update_tools=True):
9292
"""
93-
Sets the figure to interact with the tools
93+
Bind the given figure to the tools.
9494
9595
Parameters
96-
==========
97-
figure: `Figure`
98-
update_tools: bool
96+
----------
97+
figure : `.Figure`
98+
update_tools : bool
9999
Force tools to update figure
100100
"""
101101
if self._key_press_handler_id:

0 commit comments

Comments
 (0)