Skip to content

Commit b502be4

Browse files
Merge branch 'development' into fix_issue_#370
2 parents 8affd0d + 596f584 commit b502be4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

rdtools/plotting.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def degradation_summary_plots(yoy_rd, yoy_ci, yoy_info, normalized_yield,
9595
ax2.set_xlim(hist_xmin, hist_xmax)
9696

9797
label = (
98-
' $R_{d}$ = %.2f%%/yr \n'
99-
'confidence interval: \n'
100-
'%.2f to %.2f %%/yr' % (yoy_rd, yoy_ci[0], yoy_ci[1])
98+
f" $R_{{d}}$ = {yoy_rd:.2f}%/yr \n"
99+
f"confidence interval: \n"
100+
f"{yoy_ci[0]:.2f} to {yoy_ci[1]:.2f} %/yr"
101101
)
102102
if detailed:
103103
n = yoy_values.notnull().sum()

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
"plotly>=4.0.0",
5353
"xgboost >= 1.6.0",
5454
"pvlib >= 0.11.0, <0.12.0",
55-
"scikit-learn >= 1.1.3",
55+
"scikit-learn >= 1.1.3, <1.6.0",
5656
"arch >= 5.0",
57-
"filterpy >= 1.4.2"
57+
"filterpy >= 1.4.2",
5858
]
5959

6060
EXTRAS_REQUIRE = {

0 commit comments

Comments
 (0)