Top "Colorbar" questions

Questions that include the use and customization of colorbars in figures

Rotation of colorbar tick labels in matplotlib

I would like to rotate the colorbar tick labels so that they read vertically rather than horizontally. I have tried …

python numpy matplotlib colorbar
Meaning of cmap in contourf

I have two questions regarding usage of the contourf plotting function. I have been searching for answers but haven't found …

python matplotlib 2d colorbar contourf
matplotlib contour plot: proportional colorbar levels in logarithmic scale

Would it be possible to have levels of the colorbar in log scale like in the image below? Here is …

python numpy matplotlib contour colorbar
Update range of colorbar in matplotlib

I want to update a contourf plot within a function, which works fine. However, the range of the data changes …

python matplotlib colorbar contourf
Colorbar/plotting issue? "posx and posy should be finite values"

The problem So I have a lat-lon array with 6 layers (array.size = (192,288,6)) containing a bunch of data ranging in values …

python arrays matplotlib jupyter-notebook colorbar
Change tick size on colorbar of seaborn heatmap

I want to increase the tick label size corresponding to the colorbar in a heatmap plot created using the seaborn …

python heatmap colorbar seaborn
Modifying axes on matplotlib colorbar plot of 2D array

I have a 2D numpy array that I want to plot in a colorbar. I am having trouble changing the …

python numpy matplotlib colorbar
Plotting a raster with the color ramp diverging around zero

I am trying to plot a map with positive and negative values. All positive values should have red color while …

r maps raster colorbar
Change the height of a Seaborn heatmap colorbar

I have the following Python code to create a heatmap using the Seaborn package: f, ax = plt.subplots(figsize=(21,5)) heatmap = …

python matplotlib heatmap seaborn colorbar
Matplotlib Colorbar change ticks labels and locators

I would like to change the ticks locators and labels in the colorbar of the following plot. import pandas as …

python matplotlib colorbar