How do I change the font size of ticks of matplotlib.pyplot.colorbar.ColorbarBase?
You can change the tick size using:
font_size = 14 # Adjust as appropriate.
cb.ax.tick_params(labelsize=font_size)
See the docs for ax.tick_params
here for more parameters that can be modified.