graphinglib.Contour.set_color_bar_params#
- Contour.set_color_bar_params(label: str | None = None, position: str | None = None, **color_bar_params) None[source]#
Sets the color bar parameters.
- Parameters:
- labelstr, optional
Label of the color bar.
- positionstr, optional
Position of the color bar relative to the
Figure. It can be “left”, “right”, “top” or “bottom”. This also determines the orientation of the color bar (vertical if the color bar is plotted on the “left” or “right”, horizontal otherwise). If None, the color bar is plotted on the right side of theFigure. Values are"left","right","top", and"bottom".- **color_bar_params:
Additional keyword arguments are passed to
plt.colorbarcall.