Commit b6f6cd67 authored by eric pellegrini's avatar eric pellegrini
Browse files

removed unused imports

removed deprecated module-scoped variables
parent 563566ff
......@@ -4,6 +4,9 @@ MatPlotLib based viewer for 1D, 2D and 3D NumPy data.
import numpy as np
import warnings
warnings.filterwarnings("ignore")
from hdfviewer.viewers.MplDataViewer1D import _MplDataViewer1D
from hdfviewer.viewers.MplDataViewer2D import _MplDataViewer2D
from hdfviewer.viewers.MplDataViewer3D import _MplDataViewer3D
......
#!/usr/bin/env python
"""
MatPlotLib based viewer for 1D NumPy data.
......@@ -7,9 +5,6 @@ MatPlotLib based viewer for 1D NumPy data.
import numpy as np
import warnings
warnings.filterwarnings("ignore")
import matplotlib.pyplot as plt
class _MplDataViewer1D(object):
......
#!/usr/bin/env python
"""
MatPlotLib based viewer for 2D NumPy data.
"""
__author__ = "Eric Pellegrini"
__credits__ = []
__copyright__ = "Copyright 2019, Institut Laue Langevin"
__license__ = "MIT"
__version__ = "0.0.0"
__maintainer__ = "Eric Pellegrini"
__email__ = "pellegrini@ill.fr"
__status__ = "Prototype"
import numpy as np
import warnings
warnings.filterwarnings("ignore")
import matplotlib.gridspec as gridspec
import matplotlib.pyplot as plt
import matplotlib.widgets as widgets
......
......@@ -4,27 +4,8 @@
MatPlotLib based viewer for 3D NumPy data.
"""
__author__ = "Eric Pellegrini"
__credits__ = []
__copyright__ = "Copyright 2019, Institut Laue Langevin"
__license__ = "MIT"
__version__ = "0.0.0"
__maintainer__ = "Eric Pellegrini"
__email__ = "pellegrini@ill.fr"
__status__ = "Prototype"
import numpy as np
import warnings
warnings.filterwarnings("ignore")
import matplotlib.gridspec as gridspec
import matplotlib.pyplot as plt
import matplotlib.widgets as widgets
......
import collections
import os
import numpy as np
......
......@@ -2,8 +2,8 @@
Code taken and slightly modified from https://stackoverflow.com/questions/48056345/jupyter-lab-browsing-the-remote-file-system-inside-a-notebook
"""
import sys
import os
import ipywidgets as widgets
from IPython.display import display
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment