Change the color map label from K to F

This commit is contained in:
srcarter3 2020-09-04 13:41:06 -06:00 committed by GitHub
parent accecd48e6
commit 1b6e71c509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -921,7 +921,7 @@
"cs = ax.pcolormesh(lons, lats, dataf, cmap=cmap)\n",
"cbar = fig.colorbar(cs, extend='both', shrink=0.5, orientation='horizontal')\n",
"cbar.set_label(grid.getLocationName() +\" \" + grid.getLevel() + \" \" \\\n",
" + grid.getParameter() + \" (\" + grid.getUnit() + \") \" \\\n",
" + grid.getParameter() + \" (F) \" \\\n",
" + \"valid \" + str(grid.getDataTime().getRefTime()))"
]
},
@ -956,7 +956,7 @@
" vmin=dataf.min(), vmax=dataf.max(), extend='both')\n",
"cbar2 = fig2.colorbar(cs2, shrink=0.5, orientation='horizontal')\n",
"cbar2.set_label(grid.getLocationName() +\" \" + grid.getLevel() + \" \" \\\n",
" + grid.getParameter() + \" (\" + grid.getUnit() + \") \" \\\n",
" + grid.getParameter() + \" (F) \" \\\n",
" + \"valid \" + str(grid.getDataTime().getRefTime()))"
]
},