---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-16-6cf6224f6bfd> in <module>()
1 plt.figure()
----> 2 melifero_global_weight_mean['value'].plot(figsize=(15, 3))
3 plt.figure()
4 melifero_temperature_under_roof_center_mean['value'].plot(figsize=(15, 3))
5 plt.figure()
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in plot_series(series, label, kind, use_index, rot, xticks, yticks, xlim, ylim, ax, style, grid, legend, logx, logy, secondary_y, **kwds)
1728 secondary_y=secondary_y, **kwds)
1729
-> 1730 plot_obj.generate()
1731 plot_obj.draw()
1732
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in generate(self)
854 self._compute_plot_data()
855 self._setup_subplots()
--> 856 self._make_plot()
857 self._post_plot_logic()
858 self._adorn_subplots()
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _make_plot(self)
1238 if not self.x_compat and self.use_index and self._use_dynamic_x():
1239 data = self._maybe_convert_index(self.data)
-> 1240 self._make_ts_plot(data, **self.kwds)
1241 else:
1242 lines = []
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _make_ts_plot(self, data, **kwargs)
1309 self._maybe_add_color(colors, kwds, style, 0)
1310
-> 1311 _plot(data, 0, ax, label, self.style, **kwds)
1312 else:
1313 for i, col in enumerate(data.columns):
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _plot(data, col_num, ax, label, style, **kwds)
1293 def _plot(data, col_num, ax, label, style, **kwds):
1294 newlines = tsplot(data, plotf, ax=ax, label=label,
-> 1295 style=style, **kwds)
1296 ax.grid(self.grid)
1297 lines.append(newlines[0])
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/tseries/plotting.pyc in tsplot(series, plotf, **kwargs)
75 args.append(style)
76
---> 77 lines = plotf(ax, *args, **kwargs)
78 label = kwargs.get('label', None)
79
/Library/Python/2.7/site-packages/matplotlib/axes.pyc in plot(self, *args, **kwargs)
4135 lines = []
4136
-> 4137 for line in self._get_lines(*args, **kwargs):
4138 self.add_line(line)
4139 lines.append(line)
/Library/Python/2.7/site-packages/matplotlib/axes.pyc in _grab_next_args(self, *args, **kwargs)
315 return
316 if len(remaining) <= 3:
--> 317 for seg in self._plot_args(remaining, kwargs):
318 yield seg
319 return
/Library/Python/2.7/site-packages/matplotlib/axes.pyc in _plot_args(self, tup, kwargs)
293 x = np.arange(y.shape[0], dtype=float)
294
--> 295 x, y = self._xy_from_xy(x, y)
296
297 if self.command == 'plot':
/Library/Python/2.7/site-packages/matplotlib/axes.pyc in _xy_from_xy(self, x, y)
212 if self.axes.xaxis is not None and self.axes.yaxis is not None:
213 bx = self.axes.xaxis.update_units(x)
--> 214 by = self.axes.yaxis.update_units(y)
215
216 if self.command != 'plot':
/Library/Python/2.7/site-packages/matplotlib/axis.pyc in update_units(self, data)
1334 """
1335
-> 1336 converter = munits.registry.get_converter(data)
1337 if converter is None:
1338 return False
/Library/Python/2.7/site-packages/matplotlib/units.pyc in get_converter(self, x)
135
136 if isinstance(x, np.ndarray) and x.size:
--> 137 xravel = x.ravel()
138 try:
139 # pass the first value of x that is not masked back to
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/ma/core.pyc in ravel(self)
3961 r._update_from(self)
3962 if self._mask is not nomask:
-> 3963 r._mask = ndarray.ravel(self._mask).reshape(r.shape)
3964 else:
3965 r._mask = nomask
/Library/Python/2.7/site-packages/pandas-0.12.0-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in reshape(self, newshape, order)
979 return self.values.reshape(newshape, order=order)
980 else:
--> 981 return ndarray.reshape(self, newshape, order)
982
983 def get(self, label, default=None):
TypeError: an integer is required