Skip to content

Commit 74277f2

Browse files
committed
Fix ruff linting errors
1 parent 67e4e70 commit 74277f2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/generate_docs_images.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
- docs/assets/opproplot_breast_cancer.png
88
"""
99

10-
import os
1110
from pathlib import Path
1211

1312
import matplotlib
@@ -21,7 +20,6 @@
2120

2221
from opproplot import operating_profile_plot # noqa: E402
2322

24-
2523
ASSETS_DIR = Path("docs/assets")
2624

2725

@@ -56,7 +54,12 @@ def generate_hero() -> None:
5654

5755
fig.set_size_inches(4.6, 2.4)
5856
fig.tight_layout(pad=0.4)
59-
fig.savefig(ASSETS_DIR / "opproplot_hero.png", dpi=220, transparent=True, bbox_inches="tight")
57+
fig.savefig(
58+
ASSETS_DIR / "opproplot_hero.png",
59+
dpi=220,
60+
transparent=True,
61+
bbox_inches="tight",
62+
)
6063
plt.close(fig)
6164

6265

0 commit comments

Comments
 (0)