Skip to content

Commit e359b58

Browse files
timhoffmstory645
andauthored
Apply suggestions from code review
Co-authored-by: hannah <[email protected]>
1 parent 3825074 commit e359b58

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3082,7 +3082,7 @@ def grouped_bar(self, heights, *, positions=None, group_spacing=1.5, bar_spacing
30823082
`~.Axes.bar` plots.
30833083
30843084
Bar plots present categorical data as a sequence of bars, one bar per category.
3085-
We call one set of such values a *dataset* and it's bars all share the same
3085+
We call one set of such values a *dataset* and its bars all share the same
30863086
color. Grouped bar plots show multiple such datasets, where the values per
30873087
category are grouped together. The category names are drawn as tick labels
30883088
below the bar groups. Each dataset has a distinct bar color, and can optionally
@@ -3121,9 +3121,6 @@ def grouped_bar(self, heights, *, positions=None, group_spacing=1.5, bar_spacing
31213121
- dict of array-like: A mapping from names to datasets. Each dataset
31223122
(dict value) must have the same number of elements.
31233123
3124-
This is similar to passing a list of array-like, with the addition that
3125-
each dataset gets a name.
3126-
31273124
Example call:
31283125
31293126
.. code-block:: python
@@ -3187,9 +3184,7 @@ def grouped_bar(self, heights, *, positions=None, group_spacing=1.5, bar_spacing
31873184
31883185
tick_labels : list of str, optional
31893186
The category labels, which are placed on ticks at the center *positions*
3190-
of the bar groups.
3191-
3192-
If not set, the axis ticks (positions and labels) are left unchanged.
3187+
of the bar groups. If not set, the axis ticks (positions and labels) are left unchanged.
31933188
31943189
labels : list of str, optional
31953190
The labels of the datasets, i.e. the bars within one group.

0 commit comments

Comments
 (0)