Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiBForgeFlow committed Nov 3, 2024
1 parent 1c57f78 commit 996a48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neuralprophet/plot_forecast_matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def plot(
log.warning("Legend is available only for the ten first handles")
else:
ax.legend(handles, labels)
fig = fig.tight_layout()
fig.tight_layout()
return fig


Expand Down Expand Up @@ -239,7 +239,7 @@ def plot_components(
elif "auto-regression" in name or "lagged regressor" in name:
plot_multiforecast_component(fcst=fcst, ax=ax, **comp)

fig = fig.tight_layout()
fig.tight_layout()
# Reset multiplicative axes labels after tight_layout adjustment
for ax in multiplicative_axes:
ax = set_y_as_percent(ax)
Expand Down

0 comments on commit 996a48c

Please sign in to comment.