Skip to content

Commit

Permalink
Merge pull request #52 from twkim112/main
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesir authored Jul 23, 2024
2 parents ae9b553 + a04854a commit 097f85f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions quantstats_lumi/_plotting/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,11 +1085,7 @@ def monthly_returns_detailedview(
annual_dd_font_rate=0.8,
savefig=None,
show=True,
prepare_returns=True,
):
if prepare_returns:
returns = _utils._prepare_returns(returns)

fig = _core.monthly_heatmap_detailedview(
returns,
grayscale=grayscale,
Expand All @@ -1103,5 +1099,6 @@ def monthly_returns_detailedview(
savefig=savefig,
show=show,
)

if not show:
return fig

0 comments on commit 097f85f

Please sign in to comment.