Changeset 8354:c0024b87b35b in orange


Ignore:
Timestamp:
07/05/11 10:18:26 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
27e38f1439517bcc8e80012bcd80f976b5bca32f
Message:

Make all PlotItems autoscale by default.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Graph/curve.py

    r8353 r8354  
    2828    def __init__(self, xData=[], yData=[], x_axis_key=xBottom, y_axis_key=yLeft, tooltip=None, parent=None, scene=None): 
    2929        orangegraph.Curve.__init__(self, xData, yData, parent, scene) 
    30         self.setAutoScale(False) 
    3130        if tooltip: 
    3231            self.setToolTip(tooltip) 
  • orange/OrangeWidgets/Graph/tools.py

    r8353 r8354  
    102102        if pen: 
    103103            self.setPen(pen) 
    104         self.setAutoScale(False) 
    105104        self.name = name 
  • source/orangegraph/plotitem.cpp

    r8353 r8354  
    55m_graph(0) 
    66{ 
    7      
     7    setAutoScale(true); 
    88} 
    99 
Note: See TracChangeset for help on using the changeset viewer.