Changeset 8577:581d1eedad29 in orange


Ignore:
Timestamp:
08/02/11 15:47:49 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
35084f2177e7d80ef5695af9dd7f17167c6e649f
Message:

Hide axes with zero length and show axis title for all non-cartesian axes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owplot.py

    r8573 r8577  
    521521        self._transform_cache = {} 
    522522        self.axes[axis_id] = a 
     523        if not axis_id in CartesianAxes: 
     524            self.setShowAxisTitle(axis_id, True) 
    523525         
    524526    def remove_all_axes(self, user_only = True): 
     
    712714                    item.graph_line = graph_line 
    713715                item.graph_line.translate(self.graph_item.pos()) 
     716            if item.data_line and item.graph_line: 
     717                item.show() 
     718            else: 
     719                item.hide() 
    714720            item.zoom_transform = self._zoom_transform 
    715721            item.update(zoom_only) 
Note: See TracChangeset for help on using the changeset viewer.