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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/o/r/orange3-HEAD/Orange/widgets/visualize/owsieve.py   orange3(Download)
from Orange.statistics.contingency import get_contingency
from Orange.widgets.utils import getHtmlCompatibleString
from Orange.widgets.visualize.owmosaic import OWCanvasText, OWCanvasRectangle, OWCanvasEllipse, OWCanvasLine
from PyQt4.QtGui import QGraphicsScene, QGraphicsView, QColor, QPen, QBrush, QDialog, QApplication
from Orange.data import Table, Variable
 
                # create rectangle
                rect = OWCanvasRectangle(self.canvas, currX+2, currY+2, width-4, height-4, z = -10)
                self.addRectIndependencePearson(rect, currX+2, currY+2, width-4, height-4, (xAttr, xVal), (yAttr, yVal), actual, sum)