Skip to content

Commit 5c39ae5

Browse files
authored
Merge pull request #444 from kartiksubbarao/patch-1
Update reports.py
2 parents ec8adda + d5866cb commit 5c39ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quantstats/reports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def html(
363363
tpl = tpl.replace("{{dd_info}}", dd_html_table)
364364

365365
# Get active returns setting for plots
366-
active = kwargs.get("active_returns", "False")
366+
active = kwargs.get("active_returns", False)
367367

368368
# Generate all the performance plots and embed them in the HTML
369369
# plots
@@ -1725,7 +1725,7 @@ def plots(
17251725
# Extract title parameters from kwargs
17261726
benchmark_colname = kwargs.get("benchmark_title", "Benchmark")
17271727
strategy_colname = kwargs.get("strategy_title", "Strategy")
1728-
active = kwargs.get("active", "False")
1728+
active = kwargs.get("active", False)
17291729

17301730
# Handle multiple strategy columns
17311731
if isinstance(returns, _pd.DataFrame):

0 commit comments

Comments
 (0)