Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5900b3e

Browse filesBrowse files
committed
More nouns/imperative forms in docs.
1 parent e78aee9 commit 5900b3e
Copy full SHA for 5900b3e

File tree

Expand file treeCollapse file tree

4 files changed

+10
-11
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+10
-11
lines changed

‎lib/matplotlib/artist.py

Copy file name to clipboardExpand all lines: lib/matplotlib/artist.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def get_sketch_params(self):
673673

674674
def set_sketch_params(self, scale=None, length=None, randomness=None):
675675
"""
676-
Sets the sketch parameters.
676+
Set the sketch parameters.
677677
678678
Parameters
679679
----------

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+7-8Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3641,14 +3641,13 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
36413641
parameters (e.g., *bootstrap*).
36423642
36433643
positions : array-like, optional
3644-
Sets the positions of the boxes. The ticks and limits are
3644+
The positions of the boxes. The ticks and limits are
36453645
automatically set to match the positions. Defaults to
36463646
``range(1, N+1)`` where N is the number of boxes to be drawn.
36473647
36483648
widths : float or array-like
3649-
Sets the width of each box either with a scalar or a
3650-
sequence. The default is 0.5, or ``0.15*(distance between
3651-
extreme positions)``, if that is smaller.
3649+
The widths of the boxes. The default is 0.5, or ``0.15*(distance
3650+
between extreme positions)``, if that is smaller.
36523651
36533652
patch_artist : bool, default: False
36543653
If `False` produces boxes with the Line2D artist. Otherwise,
@@ -3673,7 +3672,7 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
36733672
True. Otherwise, means will be shown as points.
36743673
36753674
zorder : float, default: ``Line2D.zorder = 2``
3676-
Sets the zorder of the boxplot.
3675+
The zorder of the boxplot.
36773676
36783677
Returns
36793678
-------
@@ -3887,7 +3886,7 @@ def bxp(self, bxpstats, positions=None, widths=None, vert=True,
38873886
this will be used a tick label for the boxplot
38883887
38893888
positions : array-like, default: [1, 2, ..., n]
3890-
Sets the positions of the boxes. The ticks and limits
3889+
The positions of the boxes. The ticks and limits
38913890
are automatically set to match the positions.
38923891
38933892
widths : array-like, default: None
@@ -7832,7 +7831,7 @@ def violinplot(self, dataset, positions=None, vert=True, widths=0.5,
78327831
The input data.
78337832
78347833
positions : array-like, default: [1, 2, ..., n]
7835-
Sets the positions of the violins. The ticks and limits are
7834+
The positions of the violins. The ticks and limits are
78367835
automatically set to match the positions.
78377836
78387837
vert : bool, default: True.
@@ -7951,7 +7950,7 @@ def violin(self, vpstats, positions=None, vert=True, widths=0.5,
79517950
for this violin's dataset.
79527951
79537952
positions : array-like, default: [1, 2, ..., n]
7954-
Sets the positions of the violins. The ticks and limits are
7953+
The positions of the violins. The ticks and limits are
79557954
automatically set to match the positions.
79567955
79577956
vert : bool, default: True.

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ def zoom(self, direction):
18651865

18661866
def axis_date(self, tz=None):
18671867
"""
1868-
Sets up axis ticks and labels to treat data along this Axis as dates.
1868+
Set up axis ticks and labels to treat data along this Axis as dates.
18691869
18701870
Parameters
18711871
----------

‎lib/matplotlib/legend.py

Copy file name to clipboardExpand all lines: lib/matplotlib/legend.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _update_bbox_to_anchor(self, loc_in_canvas):
173173
default font size. This argument is only used if *prop* is not specified.
174174
175175
labelcolor : str or list
176-
Sets the color of the text in the legend. Can be a valid color string
176+
The color of the text in the legend. Either a valid color string
177177
(for example, 'red'), or a list of color strings. The labelcolor can
178178
also be made to match the color of the line or marker using 'linecolor',
179179
'markerfacecolor' (or 'mfc'), or 'markeredgecolor' (or 'mec').

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.