File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ should be aware of a few shortcomings when working with WRF data.
2323- The rotated pole projection requires the x and y limits to be set manually
2424 using set_xlim and set_ylim.
2525
26- - You can't place latitude and longitude labels on the axes when using
27- any projection other than Mercator or LatLon.
28-
2926
3027Plotting a Two-dimensional Field
3128^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -89,7 +86,10 @@ Plotting a Two-dimensional Field
8986 ax.set_ylim(cartopy_ylim(smooth_slp))
9087
9188 # Add the gridlines
92- ax.gridlines(color = " black" , linestyle = " dotted" )
89+ gl = ax.gridlines(draw_labels = True , color = " black" , linestyle = " dotted" )
90+ gl.right_labels = False
91+ gl.x_inline = False
92+ gl.top_labels = False
9393
9494 plt.title(" Sea Level Pressure (hPa)" )
9595
You can’t perform that action at this time.
0 commit comments