Skip to content

Commit

Permalink
STY pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
a-campbell committed Oct 16, 2015
1 parent f2eef22 commit 7cbd3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfolio/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def plot_turnover(returns, transactions, positions,

y_axis_formatter = FuncFormatter(utils.one_dec_places)
ax.yaxis.set_major_formatter(FuncFormatter(y_axis_formatter))

df_turnover = txn.get_turnover(transactions, positions)
df_turnover_by_month = df_turnover.resample("M")
df_turnover.plot(color='steelblue', alpha=1.0, lw=0.5, ax=ax, **kwargs)
Expand Down

0 comments on commit 7cbd3b2

Please sign in to comment.