From e6b3c8c2de9325365d108bdbb60ea60be7c874e7 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 31 Oct 2024 13:03:29 -0500 Subject: [PATCH] snapshot... --- modules/util/plot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/util/plot.py b/modules/util/plot.py index a2da7a12..a870f5b6 100644 --- a/modules/util/plot.py +++ b/modules/util/plot.py @@ -321,7 +321,7 @@ def plot_grid2d(grid_2d, x_map_2d, y_map_2d, proj, vmin=None, vmax=None, cmap='j ax = fig.add_subplot(1, 1, 1, projection=proj) # Save mappable object returned by pcolormesh - p = ax.pcolormesh(x_map_2d, y_map_2d, grid_2d, vmin=270.0, vmax=310.0, cmap='jet', shading='auto') + p = ax.pcolormesh(x_map_2d, y_map_2d, grid_2d, vmin=vmin, vmax=vmax, cmap=cmap, shading='auto') ax.coastlines(resolution='50m', color='green', linewidth=1.50) @@ -338,7 +338,6 @@ def plot_grid2d(grid_2d, x_map_2d, y_map_2d, proj, vmin=None, vmax=None, cmap='j cbar.set_label('Value', size=15) # Set color bar label plt.show() - # plt.close() # values, edges in Epoch time -- GitLab