Changeset 10930:0af15aed7a96 in orange


Ignore:
Timestamp:
06/17/12 17:25:53 (22 months ago)
Author:
mstajdohar
Branch:
default
Message:

FR should work now.

Files:
2 edited

Legend:

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

    r10923 r10930  
    994994            self._transform_cache = {} 
    995995 
    996         if self._zoom_rect: 
    997             data_zoom_rect = self.map_transform.inverted()[0].mapRect(self._zoom_rect) 
    998             self.map_transform = self.transform_for_axes() 
    999             self.set_zoom_rect(self.map_transform.mapRect(data_zoom_rect)) 
    1000         else: 
    1001             self.map_transform = self.transform_for_axes() 
     996            if self._zoom_rect: 
     997                data_zoom_rect = self.map_transform.inverted()[0].mapRect(self._zoom_rect) 
     998                self.map_transform = self.transform_for_axes() 
     999                self.set_zoom_rect(self.map_transform.mapRect(data_zoom_rect)) 
     1000 
     1001        self.map_transform = self.transform_for_axes() 
    10021002         
    10031003        for c in self.plot_items(): 
  • source/orangeqt/networkcurve.cpp

    r10929 r10930  
    10081008        if (before_refresh_time > refresh_time && i % 2 == 0) 
    10091009        { 
    1010             //scale_axes(); 
     1010            scale_axes(); 
    10111011            update_properties(); 
    10121012            QCoreApplication::processEvents(); 
Note: See TracChangeset for help on using the changeset viewer.