Skip to content

Commit

Permalink
Add tight layout by default in Raster.plot() (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet authored Oct 30, 2024
1 parent c2b0a60 commit a548d06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geoutils/raster/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -3304,6 +3304,7 @@ def plot(
cbar = None

plt.sca(ax0)
plt.tight_layout()

# If returning axes
if return_axes:
Expand Down

0 comments on commit a548d06

Please sign in to comment.