Commit 77ac3153 authored by Lucas Giardino's avatar Lucas Giardino

saco density=True del histo

parent fcb9d140
...@@ -35,7 +35,7 @@ class MakeHistogramAndPlot(pyqtgraph.PlotWidget): ...@@ -35,7 +35,7 @@ class MakeHistogramAndPlot(pyqtgraph.PlotWidget):
# This makes the histogram with the full datasets # This makes the histogram with the full datasets
# may be slow so it should be run with a reasonable # may be slow so it should be run with a reasonable
# --update-delay value # --update-delay value
heigs, binsides = np.histogram(y, bins=x, density=True) heigs, binsides = np.histogram(y, bins=x)
self.clear() self.clear()
self.plot(binsides, heigs, stepMode=True, fillLevel=0, self.plot(binsides, heigs, stepMode=True, fillLevel=0,
brush=(0, 0, 255, 150)) brush=(0, 0, 255, 150))
......
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