summaryrefslogtreecommitdiff
path: root/examples/plotStats.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plotStats.py')
-rw-r--r--examples/plotStats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/plotStats.py b/examples/plotStats.py
index 3929697..5f6e768 100644
--- a/examples/plotStats.py
+++ b/examples/plotStats.py
@@ -131,7 +131,7 @@ def main(argv):
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
'--update-mode',
- default='manual',
+ default='auto',
help='update mode to display (manual or auto)')
options = parser.parse_args(argv[1:])
@@ -167,4 +167,5 @@ def main(argv):
if __name__ == '__main__':
+ import sys
main(sys.argv)