The matplotlib.cm.ScalarMappable
(i.e., Image
, ContourSet
, etc.) described by this colorbar. This argument is mandatory for the Figure.colorbar
method but optional for the pyplot.colorbar
function, which sets the default to the current image.
Note that one can create a ScalarMappable
"on-the-fly" to generate colorbars not attached to a previously drawn artist, e.g.
fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap), ax=ax)
Axes
object, optional
Axes into which the colorbar will be drawn.
Axes
, list of Axes, optional
Parent axes from which space for a new colorbar axes will be stolen. If a list of axes is given they will all be resized to make room for the colorbar axes.
If cax is None
, a new cax is created as an instance of Axes. If ax is an instance of Subplot and use_gridspec is True
, cax is created as an instance of Subplot using the gridspec
module.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4