From 172f42e64d577a4f673a6d64cb7ac16cf1bc7d6f Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 23 Jan 2023 15:24:06 -0600 Subject: [PATCH] snapshot... --- modules/util/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/plot.py b/modules/util/plot.py index 442d2882..038e6cfd 100644 --- a/modules/util/plot.py +++ b/modules/util/plot.py @@ -167,7 +167,7 @@ def plot_image(image, cmap='Greys', vmin=None, vmax=None, fname=None, title=None # Add the colorbar if do_color_bar: - cbar = plt.colorbar(ticks=range(3)) + cbar = plt.colorbar() cbar.ax.set_position([0.90, 0.05, 0.03, 0.90]) # [left, bottom, width, height] #cbar.ax.set_ylabel(label, rotation=90, fontsize=10) #cbar.ax.tick_params(labelsize=10) -- GitLab