Aha! Found the answer here:

cbar.ax.tick_params(labelsize=10) 

P.S. Upvote that answer and give Paul some love!

Answer from crayzeewulf on Stack Overflow
🌐
Saturn Cloud
saturncloud.io › blog › how-to-change-the-font-size-of-colorbars-in-matplotlib-a-guide
How to Change the Font Size of Colorbars in Matplotlib: A Guide | Saturn Cloud Blog
May 1, 2026 - Matplotlib is a powerful Python library for data visualization, widely used by data scientists and analysts. One of its many features is the ability to customize the appearance of plots, including the font size of colorbars. This blog post will guide you through the process of changing the font size of colorbars in Matplotlib, ensuring your visualizations are as clear and effective as possible.
🌐
GeeksforGeeks
geeksforgeeks.org › data visualization › how-to-change-the-font-size-of-colorbars-in-matplotlib-1
How to Change the Font Size of Colorbars in Matplotlib - GeeksforGeeks
July 23, 2025 - Matplotlib is a powerful and widely used library in Python for data visualization. It offers a variety of plotting functions to create complex graphs and charts. One common visualization is a heatmap, which often includes a color bar to indicate the scale of values represented by colors. Adjusting the font size of the color bar labels can improve readability and enhance the overall presentation of your plots.
Discussions

python 2.7 - Change fontsize of colorbars in matplotlib - Stack Overflow
I am having difficulty adjusting the font size of the ticks on the colorbar in the following code. More on stackoverflow.com
🌐 stackoverflow.com
Alter font-size of colorbar tick-labels - Community - Matplotlib
I’m plotting a hist2d and a colorbar along with it, like so: IM = AXES.hist2d(...) FIG.colorbar(IM[3], ax=AXES) How do I control the font-size of the labels of the ticks on the color-bar? This is the only relevant discussion I could find, but how do I do that for a hist2d? More on discourse.matplotlib.org
🌐 discourse.matplotlib.org
0
October 14, 2020
[ENH]: fontsize argument for colorbar
Problem Would be nice to have a fontsize argument for plt.colorbar() that changes font size of ticks and labels. Or two separate keywords to control them independently. To change that I usually hav... More on github.com
🌐 github.com
November 18, 2021
python - How to change the font size of the color bar of a GeoPandas choropleth plot - Geographic Information Systems Stack Exchange
I thought you by colorbar meant bar plot but I understand now from the answer below. ... It is a matplotlib problem and not a GeoPandas problem. See the solution of Seb Bacon: geopandas-legend-font-size.ipynb More on gis.stackexchange.com
🌐 gis.stackexchange.com
November 5, 2020
🌐
TutorialsPoint
tutorialspoint.com › article › how-do-i-change-the-font-size-of-ticks-of-matplotlib-pyplot-colorbar-colorbarbase
How do I change the font size of ticks of matplotlib.pyplot.colorbar.ColorbarBase?
March 25, 2026 - Here's how to create a colorbar ... cmap="copper") # Create colorbar cbar = plt.colorbar(im) # Set tick font size tick_font_size = 10 cbar.ax.tick_params(labelsize=tick_font_size) plt.show()...
🌐
Matplotlib
discourse.matplotlib.org › community
Alter font-size of colorbar tick-labels - Community - Matplotlib
October 14, 2020 - When cax is an axes instance of the colorbar, you may use cax.tick_params(labelsize=8) If you want to directly set the FontProperties, you need to iterate over the ticks (it seems that tick_params does not support this). for tick in cax.yaxis.majorTicks: tick.label2.set_fontproperties(fp) Note that the details depends on the current colorbar setup (orientation etc.).
🌐
GitHub
github.com › matplotlib › matplotlib › issues › 21674
[ENH]: fontsize argument for colorbar · Issue #21674 · matplotlib/matplotlib
November 18, 2021 - Add a keyword plt.colorbar(fontsize=20) or plt.colorbar(size=20)? ... Its ambiguous which font you would be setting. The magic command should be the same as for all axes: cb.ax.yaxis.set_tick_params(labelsize=32). I admit that is a bit of a pain, but its the same for all axes. I don't think I would be in favour of adding a different API for colorbars... https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.Axis.set_tick_params.html
Find elsewhere
🌐
TutorialsPoint
tutorialspoint.com › how-to-change-the-font-properties-of-a-matplotlib-colorbar-label
How to change the font properties of a Matplotlib colorbar label?
Create x, y and z data points using numpy. Use imshow() method to display the data as an image, i.e., on a 2D regular raster. Create a colorbar for a ScalarMappable instance, *mappable*. Using colorbar axes, set the font properties such that the label is bold.
🌐
GeeksforGeeks
geeksforgeeks.org › change-the-label-size-and-tick-label-size-of-colorbar-using-matplotlib-in-python
Change the label size and tick label size of colorbar using Matplotlib in Python - GeeksforGeeks
November 5, 2021 - Matplotlib is a widely used library in Python for creating static, interactive, and animated visualizations. When creating plots that include a colorbar, adjusting the size of the colorbar labels can be crucial for readability and presentation. This article explores three different methods to decrea · 4 min read How to Change the Font Size of Colorbars in Matplotlib
🌐
GeeksforGeeks
geeksforgeeks.org › data visualization › python-matplotlib-decrease-size-of-colorbar-labels
Python Matplotlib: Decrease Size of Colorbar Labels - GeeksforGeeks
July 23, 2025 - In this example, the tick_params method of the colorbar axis (cbar.ax) is used to set the label size to 10. This method is convenient and easy to implement directly when creating the colorbar.
🌐
Wenbin Fei
wenbinfei.github.io › toolbox › Seaborn-matplotlib
Seaborn & Matplotlib - Q & A
In jupyter notebook, I always use 6,4 and the font size set as 15.
🌐
Matplotlib
matplotlib.org › stable › api › colorbar_api.html
matplotlib.colorbar — Matplotlib 3.11.2 documentation
The label on the colorbar's long axis. ... If unset, the colormap will be displayed on a 0-1 scale. If sequences, values must have a length 1 less than boundaries. For each region delimited by adjacent entries in boundaries, the color mapped to the corresponding value in values will be used. The size ...
🌐
Matplotlib
discourse.matplotlib.org › community › matplotlib-users
How to set the colorbar ticks fontsize. - matplotlib-users - Matplotlib
August 4, 2019 - Hi all, I looking for a way to modify the colorbar ticks font size. a=rand(100,100) imshow(a) colorbar() and then?? For instance, xticks(fontsize=20) works well to modify the ticks fontsize along the X-axis but col…
🌐
Google Groups
groups.google.com › g › hyperspy-users › c › siFqDlrnh4E
Formatting font size and type on colorbar tick labels.
I am trying to change the font ... in the colorbar, but I have been unable to figure out how to do this. I can change the font size and font type of the x and y labels by: ticks_font = font_manager.FontProperties(family='Times New Roman', style='normal', ... Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message ... I figured it out, but you have to use the imshow() function in matplotlib rather then ...
🌐
GitHub
github.com › pydata › xarray › issues › 3275
Change the label size and tick label size of colorbar · Issue #3275 · pydata/xarray
September 2, 2019 - import xarray as xr import matplotlib.pyplot as plt airtemps = xr.tutorial.open_dataset('air_temperature') air = airtemps.air - 273.15 air2d = air.isel(time=500) im = air2d.plot.pcolormesh(add_colorbar=False) cb = plt.colorbar(im, orientation="horizontal", pad=0.15) cb.set_label(label='Temperature ($^{\circ}$C)', size='large', weight='bold') cb.ax.tick_params(labelsize='large')