Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/o/r/orange3-HEAD/Orange/widgets/visualize/owscatterplotgraph.py   orange3(Download)
from Orange.data import DiscreteVariable, ContinuousVariable, Value
from Orange.data.sql.table import SqlTable
from Orange.widgets.utils.plot import OWPlot, OWPalette, OWPoint, ProbabilitiesItem, OWPlotGUI, \
    TooltipManager, NOTHING, SELECT, SELECT_RIGHTCLICK, PANNING, ZOOMING, SELECTION_ADD, SELECTION_REMOVE, \
    SELECTION_TOGGLE, xBottom, yLeft, yRight, xTop, OWLegendGradient, move_item_xy, OWLegendTitle
            y = -20   # hja, no; dela --> pri boundingRect() zato pristejem +20
            x = 0
            move_item_xy(self.title, x, y, False)
            y = 10
            x = 30
            for item in self.label_items:
                move_item_xy(item, x, y, False) # self.parent.graph.animate_plot)
            y = 30
            for item in self.label_items:
                move_item_xy(item, x, y, False) #self.parent.graph.animate_plot)
                x += interval
            self.rect = QRectF(0, 0, total_width, self.gradient_width + height)