Skip to content

Commit

Permalink
using cartopy plot
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Nov 1, 2018
1 parent 2683094 commit 1ea8e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecaswps/toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def _basemap_plot():
x, y = map(*np.meshgrid(lons, lats))
cnplot = map.contourf(x, y, var, clevs, cmap=plt.cm.jet)
map.colorbar(cnplot, location='right')
# _cartopy_plot()
_basemap_plot()
_cartopy_plot()
# _basemap_plot()
# Save the plot by calling plt.savefig() BEFORE plt.show()
plt.title('Tropical Nights (year 1980)')
plt.savefig(output)
Expand Down

0 comments on commit 1ea8e28

Please sign in to comment.