Changeset e68c9bf in sasview for sasview/sasview.py


Ignore:
Timestamp:
Aug 17, 2016 5:19:57 AM (8 years ago)
Author:
lewis
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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
1cecc91
Parents:
e4c897b
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (08/17/16 05:19:02)
git-committer:
Lewis O'Driscoll <lewis.o'driscoll@…> (08/17/16 05:19:57)
Message:

Remove option to save plot as PGF format (closes #446)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/sasview.py

    r1be5202 re68c9bf  
    8181#Always use private .matplotlib setup to avoid conflicts with other 
    8282#uses of matplotlib 
    83 #Have to check if .sasview exists first  
     83#Have to check if .sasview exists first 
    8484sasdir = os.path.join(os.path.expanduser("~"),'.sasview') 
    8585if not os.path.exists(sasdir): 
     
    9898PLUGIN_MODEL_DIR = 'plugin_models' 
    9999APP_NAME = 'SasView' 
     100 
     101from matplotlib import backend_bases 
     102backend_bases._default_filetypes.pop('pgf', None) 
    100103 
    101104class SasView(): 
     
    119122        # Fitting perspective 
    120123        try: 
    121             import sas.sasgui.perspectives.fitting as module     
     124            import sas.sasgui.perspectives.fitting as module 
    122125            fitting_plug = module.Plugin() 
    123126            self.gui.add_perspective(fitting_plug) 
     
    145148            logging.error(traceback.format_exc()) 
    146149 
    147         #Calculator perspective    
     150        #Calculator perspective 
    148151        try: 
    149152            import sas.sasgui.perspectives.calculator as module 
     
    191194if __name__ == "__main__": 
    192195    run() 
    193  
Note: See TracChangeset for help on using the changeset viewer.