Commit ead0f33d authored by Lucas Giardino's avatar Lucas Giardino

fix de histograma para que plotee listas

parent f9cbd675
...@@ -16,6 +16,9 @@ class MakeHistogramAndPlot(pyqtgraph.PlotWidget): ...@@ -16,6 +16,9 @@ class MakeHistogramAndPlot(pyqtgraph.PlotWidget):
#print(data) #print(data)
try: try:
y = data[self.args.y][1] y = data[self.args.y][1]
if isinstance(y, list):
y = np.array(y)
y = y[~np.isnan(y)] y = y[~np.isnan(y)]
#print(self.args.x) #print(self.args.x)
#if len(y[~np.isnan(y)]) > 5: return #if len(y[~np.isnan(y)]) > 5: return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment