- class OrangeWidgets.plot.owpoint.OWPoint¶
Represents a point on the plot, usually a part of a curve, or in a legend item.
The point is identified with its symbol, color, size, label, and state, where the state can be ether unselected (default), marker, or selected. All these attributes can be changed and retrieved after the point is constructed. For example, color can be set with set_color(), while the current color is returned by color(). There are similarily named function for the other attributes.
- __init__(symbol, color, size)¶
Sets the point’s color to color
Returns: the point’s color
Sets the point’s size to size
Returns: the point’s size
Sets the point’s symbol to symbol
Returns: the point’s symbol
Sets the point’s selected state to selected
Returns: True if the point is selected, False otherwise.
Sets the point’s marked state to marked
Returns: True if the point is marked, False otherwise.
Sets the point’s label to label. The label is displayed under the symbol.