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


Ignore:
Timestamp:
Oct 26, 2017 3:13:05 AM (7 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:
895e7359
Parents:
def64a0
Message:

Initial changes to make SasView? run with python3

File:
1 edited

Legend:

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

    • Property mode changed from 100644 to 100755
    rf0bb711 rb0b09b9  
    8787                marker = PlotUtilities.SHAPES[marker] 
    8888            except KeyError: 
    89                 marker = PlotUtilities.SHAPES.values()[marker] 
     89                marker = list(PlotUtilities.SHAPES.values())[marker] 
    9090 
    9191        assert marker is not None 
     
    203203        Adds operations on all plotted sets of data to the context menu 
    204204        """ 
    205         for id in self.plot_dict.keys(): 
     205        for id in list(self.plot_dict.keys()): 
    206206            plot = self.plot_dict[id] 
    207207 
     
    388388        Deletes the selected plot from the chart 
    389389        """ 
    390         if id not in self.plot_dict.keys(): 
     390        if id not in list(self.plot_dict.keys()): 
    391391            return 
    392392 
     
    479479        """ 
    480480        # Transform all the plots on the chart 
    481         for id in self.plot_dict.keys(): 
     481        for id in list(self.plot_dict.keys()): 
    482482            current_plot = self.plot_dict[id] 
    483483            if current_plot.id == "fit": 
Note: See TracChangeset for help on using the changeset viewer.