Skip to content

Commit

Permalink
MAINT: compatibility with matplotlib 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-s committed Mar 13, 2018
1 parent 969153a commit 2143a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alphalens/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ def plot_quantile_average_cumulative_return(avg_cumulative_returns,
if std_bar:
std = q_ret.loc[(quantile, 'std')]
ax[i].errorbar(std.index, mean, yerr=std,
fmt=None, ecolor=palette[i], label=None)
fmt='none', ecolor=palette[i], label='none')

ax[i].axvline(x=0, color='k', linestyle='--')
ax[i].legend()
Expand All @@ -871,7 +871,7 @@ def plot_quantile_average_cumulative_return(avg_cumulative_returns,
if std_bar:
std = q_ret.loc[(quantile, 'std')]
ax.errorbar(std.index, mean, yerr=std,
fmt=None, ecolor=palette[i], label='none')
fmt='none', ecolor=palette[i], label='none')
i += 1

ax.axvline(x=0, color='k', linestyle='--')
Expand Down

0 comments on commit 2143a38

Please sign in to comment.