Skip to content

Commit a4e663c

Browse files
committed
ENH: Make colorbar axes more typical
1 parent d17905c commit a4e663c

34 files changed

+865
-1521
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __call__(self, ax, renderer):
113113
# transFigure may otherwise change after this is evaluated.
114114
return mtransforms.TransformedBbox(
115115
mtransforms.Bbox.from_bounds(*self._bounds),
116-
self._transform - ax.figure.transFigure)
116+
self._transform - ax.figure.transSubfigure)
117117

118118

119119
def _process_plot_format(fmt):
@@ -939,8 +939,8 @@ def set_position(self, pos, which='both'):
939939
Axes have two position attributes. The 'original' position is the
940940
position allocated for the Axes. The 'active' position is the
941941
position the Axes is actually drawn at. These positions are usually
942-
the same unless a fixed aspect is set to the Axes. See `.set_aspect`
943-
for details.
942+
the same unless a fixed aspect is set to the Axes. See
943+
`.Axes.set_aspect` for details.
944944
945945
Parameters
946946
----------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy