Changeset 8355:012372658f56 in orange


Ignore:
Timestamp:
07/05/11 10:48:00 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
c8d382bcd0fadab230d88c5dfc977c948545cac1
Message:

Make ErrorBarCurve from OWDistributions work with OWGraphQt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Prototypes/OWDistributionsQt.py

    r8353 r8355  
    3737        d = self.data() 
    3838        n = len(d)/3 
    39         self._items = resize_plot_item_list(self._items, n, QGraphicsPathItem, self.scene()) 
     39        self._items = resize_plot_item_list(self._items, n, QGraphicsPathItem, self) 
    4040        for i in range(n): 
    4141            p = QPainterPath() 
     
    4343            _, py2 = d[3*i+1] 
    4444            _, py3 = d[3*i+2] 
     45            pxl = px - 0.1 
     46            pxr = px + 0.1 
    4547            p.moveTo(px, py1) 
    4648            p.lineTo(px, py3) 
Note: See TracChangeset for help on using the changeset viewer.