Changeset 8969:46fd05f5cfbe in orange


Ignore:
Timestamp:
09/14/11 18:51:02 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
9dd5d47ba3b9c245851ee36347dbe9a04829caa5
Message:

Fixed 3d widgets not remembering settings bug

Location:
orange/OrangeWidgets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize Qt/OWLinProj3D.py

    r8748 r8969  
    1111 
    1212class OWLinProj3D(OWLinProjQt): 
    13     settingsList = ['showAllAttributes'] #TODO 
    14  
    1513    def __init__(self, parent=None, signalManager=None): 
    1614        OWLinProjQt.__init__(self, parent, signalManager, "Linear Projection 3D", graphClass=OWLinProj3DPlot) 
  • orange/OrangeWidgets/Visualize Qt/OWLinProj3DPlot.py

    r8967 r8969  
    2727        self.antialias_lines = False 
    2828        self.auto_adjust_performance = False 
    29         self.show_filled_symbols = True 
    30         self.use_antialiasing = True 
     29        self.show_filled_symbols = False 
     30        self.use_antialiasing = False 
    3131        self.sendSelectionOnUpdate = False 
    3232        self.setCanvasBackground = self.setCanvasColor 
     33        self.showValueLines = 0 
    3334 
    3435        self._point_width_to_symbol_scale = 1.5 
     
    217218            self.legend().setPos(QPointF(100, 100)) 
    218219        self.legend().update_items() 
     220        self.legend().setVisible(self.show_legend) 
    219221 
    220222        x_positions = proj_data[0]-0.5 
  • orange/OrangeWidgets/Visualize Qt/OWSphereviz3D.py

    r8967 r8969  
    135135            print('Failed to link grid shader!') 
    136136 
    137         self.before_draw_callback = lambda: self.before_draw() 
     137        self.before_draw_callback = self.before_draw 
    138138 
    139139    def update_camera_type(self): 
  • orange/OrangeWidgets/plot/owplot3d.py

    r8968 r8969  
    11041104        self.additional_scale = array([0., 0., 0.]) 
    11051105 
    1106     contPalette = deprecated_attribute("contPalette", "continuous_palette") 
    1107     discPalette = deprecated_attribute("discPalette", "discrete_palette") 
     1106    contPalette = deprecated_attribute('contPalette', 'continuous_palette') 
     1107    discPalette = deprecated_attribute('discPalette', 'discrete_palette') 
     1108    showLegend = deprecated_attribute('showLegend', 'show_legend') 
    11081109 
    11091110if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.