Changeset 6fd4e36 in sasview for src/sas/qtgui/Plotter.py


Ignore:
Timestamp:
Mar 28, 2017 6:53:29 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:
0268aed
Parents:
a9b568c
Message:

Chi2 display + minor refactoring

File:
1 edited

Legend:

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

    rb789967 r6fd4e36  
    7979        if marker is None: 
    8080            marker = self.data.symbol 
    81             marker = PlotUtilities.SHAPES.values()[marker] 
    82  
     81            # Try name first 
     82            try: 
     83                marker = PlotUtilities.SHAPES[marker] 
     84            except KeyError: 
     85                marker = PlotUtilities.SHAPES.values()[marker] 
     86 
     87        assert marker is not None 
    8388        # Plot name 
    8489        if self.data.title: 
Note: See TracChangeset for help on using the changeset viewer.