Skip to content

Commit 3f986e6

Browse files
committed
minor fix: change plt to fig
1 parent 18bce85 commit 3f986e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/eruption_forecast/plots/forecast_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def plot_forecast(
245245
bbox_to_anchor=(0.05, -0.075),
246246
)
247247

248-
plt.suptitle(title or "Forecast Results", fontsize=14)
248+
fig.suptitle(title or "Forecast Results", fontsize=14)
249249
plt.tight_layout()
250250

251251
return fig

0 commit comments

Comments
 (0)