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 41650b0

Browse filesBrowse files
committed
Docstring wording
1 parent dfcd52f commit 41650b0
Copy full SHA for 41650b0

File tree

1 file changed

+8
-7
lines changed
Filter options

1 file changed

+8
-7
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+8-7Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3078,13 +3078,14 @@ def grouped_bar(self, heights, *, positions=None, group_spacing=1.5, bar_spacing
30783078
This function is new in v3.11, and the API is still provisional.
30793079
We may still fine-tune some aspects based on user-feedback.
30803080
3081-
Grouped bar charts visualize a collection of multiple categorical datasets.
3082-
A categorical dataset is a mapping *name* -> *value*. The values of the
3083-
dataset are represented by a sequence of bars of the same color.
3084-
In a grouped bar chart, the bars of all datasets are grouped together by
3085-
category. The category names are drawn as tick labels next to the bar group.
3086-
Each dataset has a distinct bar color, and can optionally get a label that
3087-
is used for the legend.
3081+
Grouped bar charts visualize a collection of categorical datasets. The
3082+
categories (i.e. names of the individual values) are the same across all
3083+
datasets. They are typically string names but can also be other discrete
3084+
values such as dates or integer indices. The values of each dataset are
3085+
represented by a sequence of bars of the same color. The bars of all
3086+
datasets are grouped together by their shared categories. The category names
3087+
are drawn as the tick labels for each bar group. Each dataset has a distinct
3088+
bar color, and can optionally get a label that is used for the legend.
30883089
30893090
Example:
30903091

0 commit comments

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