8000 describe shared axes behavior with units · matplotlib/matplotlib@26ae2dc · GitHub
[go: up one dir, main page]

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 26ae2dc

Browse files
committed
describe shared axes behavior with units
1 parent f4159ae commit 26ae2dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/gridspec.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ def subplots(self, *, sharex=False, sharey=False, squeeze=True,
286286
first column subplot are created. To later turn other subplots'
287287
ticklabels on, use `~matplotlib.axes.Axes.tick_params`.
288288
289+
When subplots have a shared axis that has units, calling
290+
`~matplotlib.axis.Axis.set_units` will update each axis with the
291+
new units.
292+
289293
squeeze : bool, optional, default: True
290294
- If True, extra dimensions are squeezed out from the returned
291295
array of Axes:

0 commit comments

Comments
 (0)
0