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 5c4929e

Browse filesBrowse files
committed
Fix typing and doc
1 parent e7b2da6 commit 5c4929e
Copy full SHA for 5c4929e

File tree

Expand file treeCollapse file tree

4 files changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-4
lines changed

‎doc/api/pyplot_summary.rst

Copy file name to clipboardExpand all lines: doc/api/pyplot_summary.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Basic
6161
bar
6262
barh
6363
bar_label
64+
grouped_bar
6465
stem
6566
eventplot
6667
pie

‎galleries/examples/lines_bars_and_markers/grouped_bar_chart.py

Copy file name to clipboardExpand all lines: galleries/examples/lines_bars_and_markers/grouped_bar_chart.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Case 1b: multiple datasets as dict
4343
# ----------------------------------
4444
# instead of carrying a list of datasets and a list of dataset labels, users may
45-
# want to organized their datasets in a dict.
45+
# want to organize their datasets in a dict.
4646

4747
datasets = {
4848
'data1': data1,
@@ -150,7 +150,7 @@
150150
# -------
151151
# The bars can be styled through additional keyword arguments. Currently,
152152
# the only per-dataset setting is ``colors``. Additionally, all
153-
# `.Rectangle parameters` are passed through and applied to all datasets.
153+
# `.Rectangle` parameters are passed through and applied to all datasets.
154154

155155
x = ['A', 'B', 'C']
156156
data = {

‎lib/matplotlib/axes/_axes.pyi

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.pyi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class Axes(_AxesBase):
287287
def grouped_bar(
288288
self,
289289
x : ArrayLike,
290-
heights : ArrayLike,
290+
heights : Sequence[ArrayLike] | dict[str, ArrayLike] | np.ndarray,
291291
*,
292292
group_spacing : float | None = ...,
293293
bar_spacing : float | None = ...,

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3380,7 +3380,7 @@ def grid(
33803380
@_copy_docstring_and_deprecators(Axes.grouped_bar)
33813381
def grouped_bar(
33823382
x: ArrayLike,
3383-
heights: ArrayLike,
3383+
heights: Sequence[ArrayLike] | dict[str, ArrayLike] | np.ndarray,
33843384
*,
33853385
group_spacing: float | None = 1.5,
33863386
bar_spacing: float | None = 0,

0 commit comments

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