diff options
author | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2020-01-30 11:46:45 +0100 |
---|---|---|
committer | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2020-01-30 11:46:45 +0100 |
commit | 33ed2a64c92b0311ae35456c016eb284e426afc2 (patch) | |
tree | dc8276b74bebc11128d67240eb5906c9d35d8a6f /examples | |
parent | 5d647cf9a6159afd2933da594b9c79ad93d3cd9b (diff) |
New upstream version 0.12.0+dfsg
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dropZones.py | 4 | ||||
-rw-r--r-- | examples/fileDialog.py | 4 | ||||
-rw-r--r-- | examples/plotStats.py | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/examples/dropZones.py b/examples/dropZones.py index d0d16b5..27d9df8 100644 --- a/examples/dropZones.py +++ b/examples/dropZones.py @@ -2,7 +2,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2016-2018 European Synchrotron Radiation Facility +# Copyright (c) 2016-2019 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -39,7 +39,7 @@ from silx.gui import qt from silx.gui.plot.PlotWidget import PlotWidget _logger = logging.getLogger(__name__) -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig() class DropPlotWidget(PlotWidget): diff --git a/examples/fileDialog.py b/examples/fileDialog.py index 82e6798..40191bb 100644 --- a/examples/fileDialog.py +++ b/examples/fileDialog.py @@ -2,7 +2,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2016-2018 European Synchrotron Radiation Facility +# Copyright (c) 2016-2019 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -41,7 +41,7 @@ from silx.gui.dialog.DataFileDialog import DataFileDialog import silx.io -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig() class Mode(enum.Enum): 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) |