8000 DOC: API note · matplotlib/matplotlib@190e9cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 190e9cb

Browse files
committed
DOC: API note
1 parent 982616c commit 190e9cb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
`matplotlib.colorbar.Colorbar` uses un-normalized axes for all mappables
2+
------------------------------------------------------------------------
3+
4+
Before 3.0, `matplotlib.colorbar.Colorbar` (`~.Figure.colorbar`) normalized
5+
all axes limits between 0 and 1 and had custom tickers to handle the
6+
labelling of the colorbar ticks. After 3.0, colorbars constructed from
7+
mappables that were *not* contours were constructed with axes that had
8+
limits between ``vmin`` and ``vmax`` of the mappable's norm, and the tickers
9+
were made children of the normal axes tickers.
10+
11+
This version of Matplotlib extends that to mappables made by contours, and
12+
allows the axes to run between the lesser the lowest boundary in the contour
13+
and the highest.
14+
15+
Code that worked around the normalization between 0 and 1 will need to be
16+
modified.

0 commit comments

Comments
 (0)
0