Skip to content

Commit 701df45

Browse files
committed
Update docs to show lat lon labels and remove outdated note
1 parent d63d5d8 commit 701df45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/plot.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

3027
Plotting 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

0 commit comments

Comments
 (0)