Changeset 2456 for trunk


Ignore:
Timestamp:
04/03/12 16:26:51 (13 years ago)
Author:
Malte Marquarding
Message:

added helper function to toggle rcParamsverbose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/utils.py

    r1920 r2456  
    8686    else:
    8787        return message
     88
     89def toggle_verbose():
     90    from asap import rcParams
     91    rcParams['verbose'] = not bool(rcParams['verbose'])
Note: See TracChangeset for help on using the changeset viewer.