Plotting pandas data frames broken
Created by: John-P
It looks like something has broken the plotting of pandas data frames. For example:
plot = trappy.LinePlot(data_frame, column="column_name")
plot.view()
no longer works and errors with a traceback and the error:
RuntimeError: Essential Arg Missing
Raised in _expand in Constraint.py
Full trace:
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-8-7778fa3a2099> in <module>()
1 df = trace1.thermal.data_frame
----> 2 l = trappy.LinePlot(df, column="temp")
3 l.view()
.....trappy/plotter/LinePlot.pyc in __init__(self, traces, templates, **kwargs)
137 self.c_mgr = ConstraintManager(traces, self._attr["column"],
138 self.templates, self._attr["pivot"],
--> 139 self._attr["filters"], zip_constraints)
140 self._check_add_scatter()
141
.....trappy/trappy/plotter/Constraint.pyc in __init__(self, traces, columns, templates, pivot, filters, zip_constraints)
250
251 self._trace_expanded = False
--> 252 self._expand()
253 if zip_constraints:
254
.....trappy/trappy/plotter/Constraint.pyc in _expand(self)
286
287 if self._max_len == 1 and min_len != 1:
--> 288 raise RuntimeError("Essential Arg Missing")
289
290 if self._max_len > 1:
RuntimeError: Essential Arg Missing