Changeset 10990:4dcdb2869545 in orange


Ignore:
Timestamp:
09/17/12 13:35:41 (19 months ago)
Author:
markotoplak
Branch:
default
Message:

Hide arrows by default in qt plot objects.

Location:
Orange/OrangeWidgets/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/plot/owaxis.py

    r9671 r10990  
    4747    Role = OWPalette.Axis 
    4848     
    49     def __init__(self, id, title = '', title_above = False, title_location = AxisMiddle, line = None, arrows = AxisEnd, plot = None): 
     49    def __init__(self, id, title = '', title_above = False, title_location = AxisMiddle, line = None, arrows = 0, plot = None): 
    5050        QGraphicsItem.__init__(self) 
    5151        self.setFlag(QGraphicsItem.ItemHasNoContents) 
  • Orange/OrangeWidgets/plot/owplot.py

    r10930 r10990  
    839839        pass 
    840840         
    841     def add_axis(self, axis_id, title = '', title_above = False, title_location = AxisMiddle, line = None, arrows = AxisEnd, zoomable = False): 
     841    def add_axis(self, axis_id, title = '', title_above = False, title_location = AxisMiddle, line = None, arrows = 0, zoomable = False): 
    842842        ''' 
    843843            Creates an :obj:`OrangeWidgets.plot.OWAxis` with the specified ``axis_id`` and ``title``.  
Note: See TracChangeset for help on using the changeset viewer.