Skip to content

Commit 701ca15

Browse files
Monorail map example: remove redundant call to turn off axes ticks
1 parent dfd5542 commit 701ca15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/miscellanea/simpsons-monorail-map.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def main():
5252
[0.035, 0.035, 0.93, 0.93], projection=ccrs.LambertConformal(), frameon=False
5353
)
5454

55-
# Remove all axes ticks and labelling and center on location of USA
56-
map_ax.set(xticks=[], yticks=[])
55+
# Center on location of USA with a bit of space on all sides to pad
5756
map_ax.set_extent([-120, -72.5, 20, 50], crs=ccrs.Geodetic())
5857

5958
# Plot only the USA landmass, in a fawn colour with a thin black border

0 commit comments

Comments
 (0)