Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions quantstats/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def html(
tpl = tpl.replace("{{dd_info}}", dd_html_table)

# Get active returns setting for plots
active = kwargs.get("active_returns", "False")
active = kwargs.get("active_returns", False)

# Generate all the performance plots and embed them in the HTML
# plots
Expand Down Expand Up @@ -1725,7 +1725,7 @@ def plots(
# Extract title parameters from kwargs
benchmark_colname = kwargs.get("benchmark_title", "Benchmark")
strategy_colname = kwargs.get("strategy_title", "Strategy")
active = kwargs.get("active", "False")
active = kwargs.get("active", False)

# Handle multiple strategy columns
if isinstance(returns, _pd.DataFrame):
Expand Down
Loading