forked from M-Labs/artiq
applets/plot_hist: better help message
This commit is contained in:
parent
9acf8b7c1a
commit
331ac37505
|
@ -32,7 +32,7 @@ class HistogramPlot(pyqtgraph.PlotWidget):
|
||||||
def main():
|
def main():
|
||||||
applet = SimpleApplet(HistogramPlot)
|
applet = SimpleApplet(HistogramPlot)
|
||||||
applet.add_dataset("y", "Y values")
|
applet.add_dataset("y", "Y values")
|
||||||
applet.add_dataset("x", "X values", required=False)
|
applet.add_dataset("x", "Bin boundaries", required=False)
|
||||||
applet.run()
|
applet.run()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue