Skip to content

Commit

Permalink
explicitly set params for monthly_heatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
ranaroussi committed Jul 6, 2023
1 parent 392e94a commit 6e09715
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions quantstats/_plotting/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ def rolling_sortino(

def monthly_heatmap(
returns,
benchmark,
benchmark=None,
annot_size=10,
figsize=(10, 5),
cbar=True,
Expand All @@ -948,7 +948,6 @@ def monthly_heatmap(
show=True,
active=False,
):

# colors, ls, alpha = _core._get_colors(grayscale)
cmap = "gray" if grayscale else "RdYlGn"

Expand Down Expand Up @@ -1076,16 +1075,16 @@ def monthly_returns(
show=True,
):
return monthly_heatmap(
returns,
annot_size,
figsize,
cbar,
square,
compounded,
eoy,
grayscale,
fontname,
ylabel,
savefig,
show,
returns=returns,
annot_size=annot_size,
figsize=figsize,
cbar=cbar,
square=square,
compounded=compounded,
eoy=eoy,
grayscale=grayscale,
fontname=fontname,
ylabel=ylabel,
savefig=savefig,
show=show,
)

0 comments on commit 6e09715

Please sign in to comment.