Skip to content

Commit

Permalink
pynorm
Browse files Browse the repository at this point in the history
  • Loading branch information
apchoiCMD committed Nov 13, 2024
1 parent f023e11 commit 954ffe3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions ush/soca/soca_vrfy.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,13 @@ def plotHorizontalSlice(config):
fig, ax = plt.subplots(figsize=(8, 5), subplot_kw={'projection': projs[config['proj']]})

# Use pcolor to plot the data
#pcolor_plot = ax.pcolor(np.squeeze(grid.lon),
pcolor_plot = ax.pcolormesh(np.squeeze(grid.lon),
np.squeeze(grid.lat),
slice_data,
vmin=bounds[0], vmax=bounds[1],
transform=ccrs.PlateCarree(),
cmap=config['colormap'],
zorder=0)
np.squeeze(grid.lat),
slice_data,
vmin=bounds[0], vmax=bounds[1],
transform=ccrs.PlateCarree(),
cmap=config['colormap'],
zorder=0)

# Add colorbar for filled contours
cbar = fig.colorbar(pcolor_plot, ax=ax, shrink=0.75, orientation='horizontal')
Expand Down

0 comments on commit 954ffe3

Please sign in to comment.