Changeset 092a3d9 in sasview for src/sas/sasgui


Ignore:
Timestamp:
Jan 20, 2017 6:26:35 AM (8 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:
03c372d
Parents:
0f3c22d
Message:

Color Map control for 2D charts. Initial commit - SASVIEW-391

Location:
src/sas/sasgui/plottools
Files:
2 edited

Legend:

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

    r239214f r092a3d9  
    6464 
    6565# this should happen after initial matplotlib configuration 
    66 from .toolbar import NavigationToolBar 
    67 from matplotlib.backends import backend_wxagg 
    68 backend_wxagg.NavigationToolbar2WxAgg = NavigationToolBar 
     66#from .toolbar import NavigationToolBar 
     67#from matplotlib.backends import backend_wxagg 
     68#backend_wxagg.NavigationToolbar2WxAgg = NavigationToolBar 
    6969 
    7070# CRUFT: bumps 0.7.5.6 and older uses wrong toolbar 
    71 backend_wxagg.NavigationToolbar2Wx = NavigationToolBar 
     71#backend_wxagg.NavigationToolbar2Wx = NavigationToolBar 
  • src/sas/sasgui/plottools/toolbar.py

    rd7bb526 r092a3d9  
    3535 
    3636    # CRUFT: mpl 1.1 uses save rather than save_figure 
    37     try: save_figure = NavigationToolbar2WxAgg.save 
    38     except AttributeError: pass 
     37    #try: save_figure = NavigationToolbar2WxAgg.save 
     38    #except AttributeError: pass 
    3939     
    4040    def _init_toolbar(self): 
Note: See TracChangeset for help on using the changeset viewer.