Changeset 1423 for trunk/python


Ignore:
Timestamp:
05/22/08 16:50:36 (17 years ago)
Author:
Malte Marquarding
Message:

fixed wrong indentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r1422 r1423  
    360360if rcParams['useplotter']:
    361361    try:
    362             from asapplotter import asapplotter
    363             gui = os.environ.has_key('DISPLAY') and rcParams['plotter.gui']
    364             if gui:
     362        from asapplotter import asapplotter
     363        gui = os.environ.has_key('DISPLAY') and rcParams['plotter.gui']
     364        if gui:
    365365            import matplotlib
    366366            matplotlib.use("TkAgg")
    367             import pylab
     367        import pylab
    368368        xyplotter = pylab
    369             plotter = asapplotter(gui)
    370             del gui
     369        plotter = asapplotter(gui)
     370        del gui
    371371    except ImportError:
    372             print "Matplotlib not installed. No plotting available"
     372        print "Matplotlib not installed. No plotting available"
    373373
    374374__date__ = '$Date$'.split()[1]
Note: See TracChangeset for help on using the changeset viewer.