Skip to content

Commit

Permalink
remove from __future__
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Sep 19, 2022
1 parent d8858f3 commit c61654d
Show file tree
Hide file tree
Showing 163 changed files with 0 additions and 313 deletions.
1 change: 0 additions & 1 deletion doc/source/ext/snapshotqt_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
the documentation source directory (i.e., the directory of conf.py)
(default: '..').
"""
from __future__ import absolute_import

__authors__ = ["H. Payno", "T. Vincent"]
__license__ = "MIT"
Expand Down
1 change: 0 additions & 1 deletion examples/compositeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"""
Example to show the use of markers to draw head and tail of lines.
"""
from __future__ import division

__license__ = "MIT"

Expand Down
2 changes: 0 additions & 2 deletions examples/dropZones.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
either a :class:`PlotWidget` or a QLable displaying the URL information.
"""

from __future__ import absolute_import

__authors__ = ["V. Valls"]
__license__ = "MIT"
__date__ = "25/01/2019"
Expand Down
2 changes: 0 additions & 2 deletions examples/fileDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
Example for the use of the ImageFileDialog.
"""

from __future__ import absolute_import

__authors__ = ["V. Valls"]
__license__ = "MIT"
__date__ = "14/02/2018"
Expand Down
1 change: 0 additions & 1 deletion examples/imageview.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
To get help:
``python examples/imageview.py -h``
"""
from __future__ import division

__authors__ = ["T. Vincent"]
__license__ = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions examples/plot3dContextMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
For more information on context menus, see Qt documentation.
"""

from __future__ import absolute_import, division, unicode_literals

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "03/10/2017"
Expand Down
2 changes: 0 additions & 2 deletions examples/plot3dSceneWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
"""

from __future__ import absolute_import

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "17/11/2017"
Expand Down
1 change: 0 additions & 1 deletion examples/scatterview.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"""
Example to show the use of :class:`~silx.gui.plot.ScatterView.ScatterView` widget.
"""
from __future__ import division

__license__ = "MIT"

Expand Down
2 changes: 0 additions & 2 deletions examples/viewer3DVolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
It can also be started without providing a file.
"""

from __future__ import absolute_import, division, unicode_literals

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "05/01/2017"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
See silx documentation: http://www.silx.org/doc/silx/latest/
"""

from __future__ import absolute_import, print_function, division

__authors__ = ["Jérôme Kieffer"]
__license__ = "MIT"
__date__ = "26/04/2018"
Expand Down
1 change: 0 additions & 1 deletion src/silx/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"""

from __future__ import absolute_import, print_function, division
__authors__ = ["Jérôme Kieffer"]
__license__ = "MIT"
__copyright__ = "European Synchrotron Radiation Facility, Grenoble, France"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
"""This module provides API to manage colors.
"""

from __future__ import absolute_import

__authors__ = ["T. Vincent", "H.Payno"]
__license__ = "MIT"
__date__ = "29/01/2019"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/ArrayTableModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
This module defines a data model for displaying and editing arrays of any
number of dimensions in a table view.
"""
from __future__ import division
import numpy
import logging
from silx.gui import qt
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/ArrayTableWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
The widget uses a TableView that relies on a custom abstract item
model: :class:`silx.gui.data.ArrayTableModel`.
"""
from __future__ import division
import sys

from silx.gui import qt
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/DataViewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"""This module defines a widget designed to display data using the most adapted
view from the ones provided by silx.
"""
from __future__ import division

import logging
import os.path
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/DataViewerSelector.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"""This module defines a widget to be able to select the available view
of the DataViewer.
"""
from __future__ import division

__authors__ = ["V. Valls"]
__license__ = "MIT"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/Hdf5TableView.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
This module define model and widget to display 1D slices from numpy
array using compound data types or hdf5 databases.
"""
from __future__ import division

__authors__ = ["V. Valls"]
__license__ = "MIT"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/HexaTableView.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
This module defines model and widget to display raw data using an
hexadecimal viewer.
"""
from __future__ import division

import collections

Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/NumpyAxesSelector.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"""This module defines a widget able to convert a numpy array from n-dimensions
to a numpy array with less dimensions.
"""
from __future__ import division

__authors__ = ["V. Valls"]
__license__ = "MIT"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/data/RecordTableView.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
This module define model and widget to display 1D slices from numpy
array using compound data types or hdf5 databases.
"""
from __future__ import division

import itertools
import numpy
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/ColormapDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# ###########################################################################*/
"""Deprecated module providing ColormapDialog."""

from __future__ import absolute_import

__authors__ = ["T. Vincent", "H.Payno"]
__license__ = "MIT"
__date__ = "24/04/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/Colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# ###########################################################################*/
"""Color conversion function, color dictionary and colormap tools."""

from __future__ import absolute_import

__authors__ = ["V.A. Sole", "T. Vincent"]
__license__ = "MIT"
__date__ = "14/06/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/ComplexImageView.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
of complex data.
"""

from __future__ import absolute_import

__authors__ = ["Vincent Favre-Nicolin", "T. Vincent"]
__license__ = "MIT"
__date__ = "24/04/2018"
Expand Down
3 changes: 0 additions & 3 deletions src/silx/gui/plot/ImageView.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
For an example of use, see `imageview.py` in :ref:`sample-code`.
"""

from __future__ import division


__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "26/04/2018"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/plot/MaskToolsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
- :class:`MaskToolsWidget`: GUI for :class:`Mask`
- :class:`MaskToolsDockWidget`: DockWidget to integrate in :class:`PlotWindow`
"""
from __future__ import division

__authors__ = ["T. Vincent", "P. Knobel"]
__license__ = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/PlotTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
"""Set of widgets to associate with a :class:'PlotWidget'.
"""

from __future__ import absolute_import

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "01/03/2018"
Expand Down
3 changes: 0 additions & 3 deletions src/silx/gui/plot/PlotWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
The :class:`PlotWidget` implements the plot API initially provided in PyMca.
"""

from __future__ import division


__authors__ = ["V.A. Sole", "T. Vincent"]
__license__ = "MIT"
__date__ = "21/12/2018"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/plot/PrintPreviewToolButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
app.exec()
"""
from __future__ import absolute_import

import logging
from io import StringIO
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/ScatterMaskToolsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
- :class:`ScatterMaskToolsDockWidget`: DockWidget to integrate in :class:`PlotWindow`
"""

from __future__ import division

__authors__ = ["P. Knobel"]
__license__ = "MIT"
__date__ = "15/02/2019"
Expand Down
1 change: 0 additions & 1 deletion src/silx/gui/plot/_BaseMaskToolsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"""This module is a collection of base classes used in modules
:mod:`.MaskToolsWidget` (images) and :mod:`.ScatterMaskToolsWidget`
"""
from __future__ import division

__authors__ = ["T. Vincent", "P. Knobel"]
__license__ = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/_utils/dtime_ticklayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# ###########################################################################*/
"""This module implements date-time labels layout on graph axes."""

from __future__ import absolute_import, division, unicode_literals

__authors__ = ["P. Kenter"]
__license__ = "MIT"
__date__ = "04/04/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/_utils/test/test_dtime_ticklayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#
# ###########################################################################*/

from __future__ import absolute_import, division, unicode_literals

__authors__ = ["P. Kenter"]
__license__ = "MIT"
__date__ = "06/04/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/_utils/test/test_ticklayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#
# ###########################################################################*/

from __future__ import absolute_import, division, unicode_literals

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "17/01/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/_utils/ticklayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# ###########################################################################*/
"""This module implements labels layout on graph axes."""

from __future__ import absolute_import, division, unicode_literals

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "18/10/2016"
Expand Down
3 changes: 0 additions & 3 deletions src/silx/gui/plot/actions/PlotAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
with a :class:`.PlotWidget`.
"""

from __future__ import division


__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__license__ = "MIT"
__date__ = "03/01/2018"
Expand Down
3 changes: 0 additions & 3 deletions src/silx/gui/plot/actions/PlotToolAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
a tool window with a :class:`.PlotWidget`.
"""

from __future__ import division


__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__license__ = "MIT"
__date__ = "10/10/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
- :class:`ZoomOutAction`
"""

from __future__ import division

__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__license__ = "MIT"
__date__ = "27/11/2020"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
.. autoclass:`.FitAction`
"""

from __future__ import division

__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__license__ = "MIT"
__date__ = "10/10/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
- :class:`PixelIntensitiesHistoAction`
"""

from __future__ import division

__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__date__ = "01/12/2020"
__license__ = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
- :class:`SaveAction`
"""

from __future__ import division

__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__license__ = "MIT"
__date__ = "25/09/2020"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/medfilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
"""

from __future__ import division

__authors__ = ["V.A. Sole", "T. Vincent", "P. Knobel"]
__license__ = "MIT"

Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
- :class:`PanModeAction`
"""

from __future__ import division

__authors__ = ["V. Valls"]
__license__ = "MIT"
__date__ = "16/08/2017"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/backends/BackendMatplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# ###########################################################################*/
"""Matplotlib Plot backend."""

from __future__ import division

__authors__ = ["V.A. Sole", "T. Vincent, H. Payno"]
__license__ = "MIT"
__date__ = "21/12/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/backends/BackendOpenGL.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# ############################################################################*/
"""OpenGL Plot backend."""

from __future__ import division

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "21/12/2018"
Expand Down
2 changes: 0 additions & 2 deletions src/silx/gui/plot/backends/glutils/GLPlotCurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
This module provides classes to render 2D lines and scatter plots
"""

from __future__ import division

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "03/04/2017"
Expand Down
Loading

0 comments on commit c61654d

Please sign in to comment.