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

Skip to content

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)