Changeset a66ff280 in sasview


Ignore:
Timestamp:
Jan 9, 2017 4:09:32 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
b46f285
Parents:
fed94a2
Message:

Fixed issue with labels not updating correctly

Location:
src/sas/qtgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/GuiUtils.py

    rfed94a2 ra66ff280  
    99import webbrowser 
    1010import urlparse 
    11 import numpy 
    1211 
    1312warnings.simplefilter("ignore") 
  • src/sas/qtgui/Plotter.py

    rfed94a2 ra66ff280  
    447447            # Plot the updated chart 
    448448            self.removePlot(id) 
    449             self.plot(data=current_plot, marker='o', linestyle='') 
     449            # Directly overwrite the data to avoid label reassignment 
     450            self._data = current_plot 
     451            self.plot(marker='o', linestyle='') 
    450452 
    451453        pass # debug hook 
Note: See TracChangeset for help on using the changeset viewer.