Changeset 1195 for SHX


Ignore:
Timestamp:
09.09.2016 11:08:59 (3 years ago)
Author:
klaus
Message:

fix label cutoff in matplotlib output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/commands/mplplot.py

    r1172 r1195  
    1313import numpy as np 
    1414import matplotlib.pyplot as plt 
     15from matplotlib import rcParams 
    1516 
    1617provides = {"mplplot": "mplplot"} 
     
    143144        # prepare MPL plot 
    144145        wdwset = False 
     146        rcParams.update({'figure.autolayout': True}) 
    145147        fig, ax = plt.subplots() 
    146148        timea, timeb = get_runtime("timewindow")  # contains time window ('stw') 
Note: See TracChangeset for help on using the changeset viewer.