File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -778,6 +778,7 @@ class OWPaintData(OWWidget):
778778 density = Setting (7 )
779779 #: current data array (shape=(N, 3)) as presented on the output
780780 data = Setting (None , schema_only = True )
781+ labels = Setting (["C1" , "C2" ], schema_only = True )
781782
782783 graph_name = "plot"
783784
@@ -803,7 +804,6 @@ def __init__(self):
803804 #: a copy of this array (as seen when the `invalidate` method is
804805 #: called
805806 self .__buffer = None
806- self .labels = ["C1" , "C2" ]
807807
808808 self .undo_stack = QUndoStack (self )
809809
@@ -1298,7 +1298,7 @@ def send_report(self):
12981298 self .report_items ("Painted data" , settings )
12991299 self .report_plot ()
13001300
1301- def test ():
1301+ def main ():
13021302 from AnyQt .QtWidgets import QApplication
13031303 import gc
13041304 import sip
@@ -1317,4 +1317,4 @@ def test():
13171317
13181318
13191319if __name__ == "__main__" :
1320- sys .exit (test ())
1320+ sys .exit (main ())
You can’t perform that action at this time.
0 commit comments