Changeset 60a7820 in sasview for src


Ignore:
Timestamp:
Sep 18, 2017 8:23:31 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e75de07
Parents:
706bb4e
Message:

matplotlib setup moved to a function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasview/sasview.py

    r706bb4e r60a7820  
    2626# Set SAS_MODELPATH so sasmodels can find our custom models 
    2727os.environ['SAS_MODELPATH'] = os.path.join(sasdir, PLUGIN_MODEL_DIR) 
    28  
    29 from matplotlib import backend_bases 
    30 backend_bases.FigureCanvasBase.filetypes.pop('pgf', None) 
    3128 
    3229class SasView(): 
     
    179176    os.environ['MPLBACKEND'] = 'WXAgg' 
    180177 
    181  
    182178    from matplotlib import backend_bases 
    183179    backend_bases.FigureCanvasBase.filetypes.pop('pgf', None) 
     180 
    184181 
    185182def run_gui(): 
Note: See TracChangeset for help on using the changeset viewer.