Skip to content

Commit 60e07d9

Browse files
author
Jeffrey Whitaker
committed
fix for python 3
1 parent 7257274 commit 60e07d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/fcstmaps_axesgrid.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from __future__ import print_function
2+
from __future__ import unicode_literals
23
# this example reads today's numerical weather forecasts
34
# from the NOAA OpenDAP servers and makes a multi-panel plot.
45
# This version demonstrates the use of the AxesGrid toolkit.
@@ -100,7 +101,7 @@
100101
ax.set_title('%d-h forecast valid '%fcsthr+verifdates[nt],fontsize=9)
101102
# figure title
102103
plt.figtext(0.5,0.95,
103-
u"2-m temp (\N{DEGREE SIGN}C) forecasts from %s"%verifdates[0],
104+
"2-m temp (\N{DEGREE SIGN}C) forecasts from %s"%verifdates[0],
104105
horizontalalignment='center',fontsize=14)
105106
# a single colorbar.
106107
cbar = fig.colorbar(cs, cax=grid.cbar_axes[0], orientation='horizontal')

0 commit comments

Comments
 (0)