Commit e9b38686 authored by Carl Schreck's avatar Carl Schreck

Automated Daily Commit - Sun Sep 22 12:00:52 EDT 2019

parent b9450c33
......@@ -65,11 +65,16 @@ for shape in shapereader.Reader(state_shp_path).records():
edgecolor='none', facecolor='silver', zorder=1)
ax.add_geometries(shape.geometry, ccrs.PlateCarree(),
edgecolor=(0.2, 0.2, 0.2), linewidth=0.5,
facecolor='none',
zorder=3)
facecolor='none', zorder=3)
cjs.tstamp('Draw data')
levels = [5, 10, 25, 50, 75, 100, 125, 150, 200, 300, 500]
cmap = mpl.cm.get_cmap('BrBG', len(levels)+1)
mid_level = int(len(levels)/2)
for key in ('red', 'green', 'blue'):
cmap._segmentdata[key][mid_level:mid_level+1] = [(1,1,1)]
print(key)
plot = anom_data.plot(levels=levels, ax=ax, transform=ccrs.PlateCarree(),
cmap='BrBG', zorder=2,
cbar_kwargs={'orientation': 'horizontal',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment