Changeset 343d7fd in sasview


Ignore:
Timestamp:
Sep 10, 2018 3:18:14 PM (10 days ago)
Author:
piotr
Branches:
ESS_GUI, ESS_GUI_Pr_fixes, ESS_GUI_iss879, ESS_GUI_poly_plot2
Children:
dee9e5f, a54bbf2b, 60a4e71
Parents:
f3cc979
Message:

set autolayout for MPL so x/y axis titles don't get squashed. SASVIEW-1000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/PlotterBase.py

    rd9150d8 r343d7fd  
    1010 
    1111import matplotlib.pyplot as plt 
     12from matplotlib import rcParams 
    1213 
    1314DEFAULT_CMAP = pylab.cm.jet 
     
    2930        self.manager = manager 
    3031        self.quickplot = quickplot 
     32 
     33        # Set auto layout so x/y axis captions don't get cut off 
     34        rcParams.update({'figure.autolayout': True}) 
    3135 
    3236        #plt.style.use('ggplot') 
Note: See TracChangeset for help on using the changeset viewer.