Skip to content

Commit

Permalink
pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0dler committed May 11, 2024
1 parent 043c356 commit c096d59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions peak_performance/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import os
from pathlib import Path
from typing import Sequence, Union, Optional
from typing import Optional, Sequence, Union

import arviz as az
import numpy as np
Expand Down Expand Up @@ -188,7 +188,9 @@ def plot_posterior_predictive(
)
else:
for format in save_formats:
fig.savefig(Path(path) / f"{identifier}_predictive_posterior.{format}", format=format)
fig.savefig(
Path(path) / f"{identifier}_predictive_posterior.{format}", format=format
)
plt.close(fig)

return
Expand Down

0 comments on commit c096d59

Please sign in to comment.