Skip to content

Commit

Permalink
Merge pull request #1750 from smartlixx/FIX_images_example_margins
Browse files Browse the repository at this point in the history
Update advanced_plotting.rst to fix margins in the plot
  • Loading branch information
dopplershift committed Mar 17, 2021
2 parents 2a5c843 + dcee4e4 commit 4ca93c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/matplotlib/advanced_plotting.rst
Expand Up @@ -111,7 +111,8 @@ Images
ax = plt.axes(projection=ccrs.PlateCarree())
plt.title('Hurricane Miriam from the Aqua/MODIS satellite\n'
'2012 09/26/2012 20:50 UTC')


ax.use_sticky_edges = False
# set a margin around the data
ax.set_xmargin(0.05)
ax.set_ymargin(0.10)
Expand Down

0 comments on commit 4ca93c1

Please sign in to comment.