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

Skip to content

Commit 8cf06c4

Browse files
committed
Docstring wording
1 parent 7fa82d7 commit 8cf06c4

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3041,16 +3041,17 @@ def grouped_bar(self, heights, *, positions=None, group_spacing=1.5, bar_spacing
30413041
30423042
.. versionadded:: 3.11
30433043
3044-
This function is new in v3.11, and the API is still provisional.
3045-
We may still fine-tune some aspects based on user-feedback.
3046-
3047-
Grouped bar charts visualize a collection of multiple categorical datasets.
3048-
A categorical dataset is a mapping *name* -> *value*. The values of the
3049-
dataset are represented by a sequence of bars of the same color.
3050-
In a grouped bar chart, the bars of all datasets are grouped together by
3051-
category. The category names are drawn as tick labels next to the bar group.
3052-
Each dataset has a distinct bar color, and can optionally get a label that
3053-
is used for the legend.
3044+
The API is still provisional. We may still fine-tune some aspects based on
3045+
user-feedback.
3046+
3047+
Grouped bar charts visualize a collection of categorical datasets. Each value
3048+
in a dataset belongs to a distinct category and these categories are the same
3049+
across all datasets. The categories typically have string names, but could
3050+
also be dates or index keys. The values in each dataset are represented by a
3051+
sequence of bars of the same color. The bars of all datasets are grouped
3052+
together by their shared categories. The category names are drawn as the tick
3053+
labels for each bar group. Each dataset has a distinct bar color, and can
3054+
optionally get a label that is used for the legend.
30543055
30553056
Example:
30563057

0 commit comments

Comments
 (0)