Skip to content

Commit 81f084b

Browse files
mathausetimhoffm
andauthored
Apply suggestions from code review
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 095b970 commit 81f084b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/users/next_whats_new/mpl_toolkit_colorbar_pad.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Fix padding of single colorbar for ``ImageGrid``
22
------------------------------------------------
33

44
``ImageGrid`` with ``cbar_mode="single"`` no longer adds the ``axes_pad`` between the
5-
axes and the colorbar for thr ``cbar_location`` left and bottom. Add required space
6-
using `cbar_pad` instead.
5+
axes and the colorbar for ``cbar_location`` "left" and "bottom". If desired, add additional spacing
6+
unsing ``cbar_pad``.

lib/mpl_toolkits/axes_grid1/axes_grid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ def __init__(self, fig,
360360
Padding between the image axes and the colorbar axes.
361361
362362
.. versionchanged:: 3.10
363-
`cbar_mode="single"` no longer adds the `axes_pad` between the axes and
364-
the colorbar if the `cbar_location` is `"left"` or `"bottom"`
363+
``cbar_mode="single"`` no longer adds *axes_pad* between the axes
364+
and the colorbar if the *cbar_location* is "left" or "bottom".
365365
366366
cbar_size : size specification (see `.Size.from_any`), default: "5%"
367367
Colorbar size.

0 commit comments

Comments
 (0)