Changeset cb64d86 in sasview for src/sas/sasgui/plottools/toolbar.py


Ignore:
Timestamp:
Feb 22, 2019 12:25:03 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
Children:
82d88d5
Parents:
61379c2e
Message:

src/sas/sasgui/guiframe/CategoryInstaller.py

consistent python 2/3 handling of json dump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/plottools/toolbar.py

    r5251ec6 rcb64d86  
    3939    try: save_figure = NavigationToolbar2WxAgg.save 
    4040    except AttributeError: pass 
    41      
     41 
    4242    def _init_toolbar(self): 
    4343        self._parent = self.canvas.GetParent() 
     
    6666        # todo: get new bitmap 
    6767        # todo: update with code from matplotlib/backends/backend_wx.py 
    68         is_phoenix = 'phoenix' in wx.PlatformInfo 
    69         if is_phoenix: # wx phoenix >= 4.0.0b2 
     68        if 'phoenix' in wx.PlatformInfo: # wx phoenix >= 4.0.0b2 
    7069            self.AddCheckTool(self._NTB2_PAN, "Pan", _load_bitmap('move.png'), 
    7170                              shortHelp='Pan', 
Note: See TracChangeset for help on using the changeset viewer.