Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ranaroussi committed Oct 14, 2019
1 parent 1807f12 commit a27e0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantstats/_plotting/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def snapshot(returns, grayscale=False, figsize=(10, 8),

axes[0].set_ylabel('Cumulative Return', fontname=fontname,
fontweight='bold', fontsize=12)
axes[0].plot(returns.compsum() * 100, color=colors[1],
axes[0].plot(_stats.compsum(returns) * 100, color=colors[1],
lw=1 if grayscale else lw, zorder=1)
axes[0].axhline(0, color='silver', lw=1, zorder=0)

Expand Down

0 comments on commit a27e0af

Please sign in to comment.