Ameobea / orange3

Orange 3 data mining suite: http://orange.biolab.si
Other
1 stars 0 forks source link

Explore overriding `send()` on visualization widgets to simplify getting selected data #34

Open Ameobea opened 8 years ago

Ameobea commented 8 years ago

Instead of copying in a bunch of GUI code that really isn't useful to the widget at all, it may be easier to simply override the widget's send() function. This allows the widget's native commit() function to be used to get the currently selected data without having to copy/paste it into the widget's generated code.

Note that this is only for widgets that are being constructed in generated code due to their functionality being visualization instead of data processing. I know it was been suggested that something like Matplotlib be used in the place of these widgets, but in the current scope of the project I think that just construction the widgets is a viable alternative.

┆Issue is synchronized with this Asana task