Skip to content

Commit

Permalink
Fix a typo in the "first figure" tutorial (#606)
Browse files Browse the repository at this point in the history
projection='M8i' sets the map width to 8 inch, not the figure width.
The figure with is larger than 8 inch, including frames and annotations.
  • Loading branch information
seisman authored Sep 14, 2020
1 parent ba76ac6 commit ae6bc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tutorials/first-figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
########################################################################################
# Add elements to the figure using its methods. For example, let's start a map with an
# automatic frame and ticks around a given longitude and latitude bound, set the
# projection to Mercator (``M``), and the figure width to 8 inches:
# projection to Mercator (``M``), and the map width to 8 inches:

fig.basemap(region=[-90, -70, 0, 20], projection="M8i", frame=True)

Expand Down

0 comments on commit ae6bc9a

Please sign in to comment.