Skip to content

Commit e3b03fc

Browse files
Impaler343r3kste
authored andcommitted
grammar nits
1 parent 8a7cd65 commit e3b03fc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
220220
*facecolors*, *edgecolors*, *linewidths*, *linestyles*, *antialiased*
221221
and *hatchcolors* are lists that set the corresponding properties.
222222
223+
.. versionadded:: 3.11
224+
Allowing *hatchcolors* to be specified.
225+
223226
*offset_position* is unused now, but the argument is kept for
224227
backwards compatibility.
225228

lib/matplotlib/collections.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def __init__(self, *,
106106
facecolors : :mpltype:`color` or list of colors, default: :rc:`patch.facecolor`
107107
Face color for each patch making up the collection.
108108
hatchcolors : :mpltype:`color` or list of colors, default: :rc:`hatch.color`
109-
Hatch color for each patch making up the collection. The special
110-
value 'edge' can be passed to make the hatchcolor match the
109+
Hatch color for each patch making up the collection. The color
110+
can be set to the special value 'edge' to make the hatchcolor match the
111111
edgecolor.
112112
linewidths : float or list of floats, default: :rc:`patch.linewidth`
113113
Line width for each patch making up the collection.
@@ -758,7 +758,7 @@ def _get_default_antialiased(self):
758758

759759
def set_color(self, c):
760760
"""
761-
Sets the edgecolor, facecolor and hatchcolor.
761+
Set the edgecolor, facecolor and hatchcolor.
762762
763763
Parameters
764764
----------

0 commit comments

Comments
 (0)