seeing this on the research server, using the tearsheet_quantrisk nb.
ValueError: List of boxplot statistics and `positions` values must have same the length
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-6-f997b0a20ee9> in <module>()
2 backtest_min_years=5,
3 plot_risk_factors=True,
----> 4 include_positions=True)
/opt/code/quantrisk/quantrisk/internals.pyc in get_and_analyze_algo(*args, **kwargs)
281 fetcher_urls=fetcher_urls,
282 algo_create_date=algo_create_date,
--> 283 cone_std=cone_std, bayesian=bayesian)
284
285 return df_rets, df_pos, df_txn
/opt/code/quantrisk/quantrisk/tears.pyc in create_full_tear_sheet(df_rets, df_pos, df_txn, gross_lev, fetcher_urls, algo_create_date, bayesian, backtest_days_pct, cone_std)
227 benchmark2_rets = utils.get_symbol_rets('IEF') # 7-10yr Bond ETF.
228
--> 229 create_returns_tear_sheet(df_rets, algo_create_date=algo_create_date, backtest_days_pct=backtest_days_pct, cone_std=cone_std, benchmark_rets=benchmark_rets, benchmark2_rets=benchmark2_rets)
230
231 create_interesting_times_tear_sheet(df_rets, benchmark_rets=benchmark_rets)
/opt/code/quantrisk/quantrisk/tears.pyc in create_returns_tear_sheet(df_rets, algo_create_date, backtest_days_pct, cone_std, benchmark_rets, benchmark2_rets)
116 ax=ax_daily_similarity_no_var_no_mean)
117
--> 118 plotting.plot_return_quantiles(df_rets, df_weekly, df_monthly, ax=ax_return_quantiles)
119
120
/opt/code/quantrisk/quantrisk/plotting.pyc in plot_return_quantiles(df_rets, df_weekly, df_monthly, ax, **kwargs)
595 sns.boxplot([df_rets, df_weekly, df_monthly],
596 names=['daily', 'weekly', 'monthly'],
--> 597 ax=ax, **kwargs)
598 ax.set_title('Return quantiles')
599 return ax
/opt/miniconda/lib/python2.7/site-packages/seaborn/categorical.pyc in boxplot(x, y, hue, data, order, hue_order, orient, color, palette, saturation, width, fliersize, linewidth, whis, notch, ax, **kwargs)
1621 kwargs.update(dict(whis=whis, notch=notch))
1622
-> 1623 plotter.plot(ax, kwargs)
1624 return ax
1625
/opt/miniconda/lib/python2.7/site-packages/seaborn/categorical.pyc in plot(self, ax, boxplot_kws)
516 def plot(self, ax, boxplot_kws):
517 """Make the plot."""
--> 518 self.draw_boxplot(ax, boxplot_kws)
519 self.annotate_axes(ax)
520 if self.orient == "h":
/opt/miniconda/lib/python2.7/site-packages/seaborn/categorical.pyc in draw_boxplot(self, ax, kws)
453 positions=[i],
454 widths=self.width,
--> 455 **kws)
456 color = self.colors[i]
457 self.restyle_boxplot(artist_dict, color, kws)
/opt/miniconda/lib/python2.7/site-packages/matplotlib/axes/_axes.pyc in boxplot(self, x, notch, sym, vert, whis, positions, widths, patch_artist, bootstrap, usermedians, conf_intervals, meanline, showmeans, showcaps, showbox, showfliers, boxprops, labels, flierprops, medianprops, meanprops, capprops, whiskerprops, manage_xticks)
3116 meanline=meanline, showfliers=showfliers,
3117 capprops=capprops, whiskerprops=whiskerprops,
-> 3118 manage_xticks=manage_xticks)
3119 return artists
3120
/opt/miniconda/lib/python2.7/site-packages/matplotlib/axes/_axes.pyc in bxp(self, bxpstats, positions, widths, vert, patch_artist, shownotches, showmeans, showcaps, showbox, showfliers, boxprops, whiskerprops, flierprops, medianprops, capprops, meanprops, meanline, manage_xticks)
3383 positions = list(xrange(1, N + 1))
3384 elif len(positions) != N:
-> 3385 raise ValueError(datashape_message.format("positions"))
3386
3387 # width
ValueError: List of boxplot statistics and `positions` values must have same the length