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

Skip to content

Commit f27432a

Browse files
anntzerMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #11064: Minor docstring format cleanup
1 parent 7e6922d commit f27432a

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
@@ -549,17 +549,17 @@ def get_sketch_params(self):
549549
-------
550550
sketch_params : tuple or `None`
551551
552-
A 3-tuple with the following elements:
552+
A 3-tuple with the following elements:
553553
554-
* `scale`: The amplitude of the wiggle perpendicular to the
555-
source line.
554+
* `scale`: The amplitude of the wiggle perpendicular to the
555+
source line.
556556
557-
* `length`: The length of the wiggle along the line.
557+
* `length`: The length of the wiggle along the line.
558558
559-
* `randomness`: The scale factor by which the length is
560-
shrunken or expanded.
559+
* `randomness`: The scale factor by which the length is
560+
shrunken or expanded.
561561
562-
May return `None` if no sketch parameters were set.
562+
May return `None` if no sketch parameters were set.
563563
"""
564564
return self._sketch
565565

lib/matplotlib/backend_bases.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,17 +1189,17 @@ def get_sketch_params(self):
11891189
-------
11901190
sketch_params : tuple or `None`
11911191
1192-
A 3-tuple with the following elements:
1192+
A 3-tuple with the following elements:
11931193
1194-
* `scale`: The amplitude of the wiggle perpendicular to the
1195-
source line.
1194+
* `scale`: The amplitude of the wiggle perpendicular to the
1195+
source line.
11961196
1197-
* `length`: The length of the wiggle along the line.
1197+
* `length`: The length of the wiggle along the line.
11981198
1199-
* `randomness`: The scale factor by which the length is
1200-
shrunken or expanded.
1199+
* `randomness`: The scale factor by which the length is
1200+
shrunken or expanded.
12011201
1202-
May return `None` if no sketch parameters were set.
1202+
May return `None` if no sketch parameters were set.
12031203
"""
12041204
return self._sketch
12051205

lib/matplotlib/backend_managers.py

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

4646
class ToolManager(object):
4747
"""
48-
Helper class that groups all the user interactions for a Figure
48+
Helper class that groups all the user interactions for a Figure.
4949
5050
Attributes
5151
----------
@@ -93,12 +93,12 @@ def figure(self, figure):
9393

9494
def set_figure(self, figure, update_tools=True):
9595
"""
96-
Sets the figure to interact with the tools
96+
Bind the given figure to the tools.
9797
9898
Parameters
99-
==========
100-
figure: `Figure`
101-
update_tools: bool
99+
----------
100+
figure : `.Figure`
101+
update_tools : bool
102102
Force tools to update figure
103103
"""
104104
if self._key_press_handler_id:

0 commit comments

Comments
 (0)