---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-29-212e1fc5c546> in <module>()
1 plt.figure()
----> 2 sns.boxplot([true_positives, false_negatives])
3 plt.show()
/Users/justin/anaconda/lib/python3.5/site-packages/seaborn/categorical.py in boxplot(x, y, hue, data, order, hue_order, orient, color, palette, saturation, width, fliersize, linewidth, whis, notch, ax, **kwargs)
2133 kwargs.update(dict(whis=whis, notch=notch))
2134
-> 2135 plotter.plot(ax, kwargs)
2136 return ax
2137
/Users/justin/anaconda/lib/python3.5/site-packages/seaborn/categorical.py in plot(self, ax, boxplot_kws)
522 def plot(self, ax, boxplot_kws):
523 """Make the plot."""
--> 524 self.draw_boxplot(ax, boxplot_kws)
525 self.annotate_axes(ax)
526 if self.orient == "h":
/Users/justin/anaconda/lib/python3.5/site-packages/seaborn/categorical.py in draw_boxplot(self, ax, kws)
459 positions=[i],
460 widths=self.width,
--> 461 **kws)
462 color = self.colors[i]
463 self.restyle_boxplot(artist_dict, color, props)
/Users/justin/anaconda/lib/python3.5/site-packages/matplotlib/__init__.py in inner(ax, *args, **kwargs)
1809 warnings.warn(msg % (label_namer, func.__name__),
1810 RuntimeWarning, stacklevel=2)
-> 1811 return func(ax, *args, **kwargs)
1812 pre_doc = inner.__doc__
1813 if pre_doc is None:
/Users/justin/anaconda/lib/python3.5/site-packages/matplotlib/axes/_axes.py 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)
3206 bootstrap = rcParams['boxplot.bootstrap']
3207 bxpstats = cbook.boxplot_stats(x, whis=whis, bootstrap=bootstrap,
-> 3208 labels=labels)
3209 if notch is None:
3210 notch = rcParams['boxplot.notch']
/Users/justin/anaconda/lib/python3.5/site-packages/matplotlib/cbook.py in boxplot_stats(X, whis, bootstrap, labels)
2009
2010 # arithmetic mean
-> 2011 stats['mean'] = np.mean(x)
2012
2013 # medians and quartiles
/Users/justin/anaconda/lib/python3.5/site-packages/numpy/core/fromnumeric.py in mean(a, axis, dtype, out, keepdims)
2872
2873 return _methods._mean(a, axis=axis, dtype=dtype,
-> 2874 out=out, keepdims=keepdims)
2875
2876
/Users/justin/anaconda/lib/python3.5/site-packages/numpy/core/_methods.py in _mean(a, axis, dtype, out, keepdims)
70 ret = ret.dtype.type(ret / rcount)
71 else:
---> 72 ret = ret / rcount
73
74 return ret
TypeError: unsupported operand type(s) for /: 'list' and 'int'