Skip to content

Commit

Permalink
add kwargs to tight_layout (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindougherty-noaa committed Jul 3, 2023
1 parent 357432c commit fb78288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/emcpy/plots/create_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ def save_figure(self, pathfile, **kwargs):
# Save figure
self.fig.savefig(pathfile, **kwargs)

def tight_layout(self):
def tight_layout(self, **kwargs):
"""
Set figure to tight layout.
"""
self.fig.tight_layout()
self.fig.tight_layout(**kwargs)

def close_figure(self):
"""
Expand Down

0 comments on commit fb78288

Please sign in to comment.