Changeset 4c11b2a in sasview for src/sas/qtgui/Plotting/Plotter.py


Ignore:
Timestamp:
Mar 25, 2019 10:25:50 AM (6 years ago)
Author:
awashington
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
Children:
f810eb6
Parents:
b38c8c8
Message:

Pull the transform from the old plot when updating a plot

This is part of jira task 1127.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/Plotter.py

    rd9e7792 r4c11b2a  
    420420        This effectlvely refreshes the chart with changes to one of its plots 
    421421        """ 
     422 
     423        # Pull the current transform settings from the old plot 
     424        selected_plot = self.plot_dict[id] 
     425        new_plot.xtransform = selected_plot.xtransform 
     426        new_plot.ytransform = selected_plot.ytransform 
     427 
    422428        self.removePlot(id) 
    423429        self.plot(data=new_plot) 
Note: See TracChangeset for help on using the changeset viewer.