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

saco density=True del histo

parent fcb9d140
Loading
Loading
Loading
Loading
+1 −1
Changes for pyLIAF/artiq/applets/histogram.py: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -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))