Commit 4e69af9d authored by Yori 'AGy' Fournier's avatar Yori 'AGy' Fournier
Browse files

new import to make sure that import is local, now also work in stand alone mode

parent 723e97ef
......@@ -42,9 +42,9 @@
#
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import SEVR, DBUG
from ..myplotlib import Axes
from ..myplotlib import rcParams
from . import SEVR, DBUG
from . import Axes
from . import rcParams
# Class MyAxes Overwriting Matplotlib.figure.Axes
......
......@@ -65,10 +65,10 @@
#
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import D_FIGSIZE, D_INPUTARG, D_DEBUG, D_REFORMAT, D_FORMATTED
from ..myplotlib import DBUG, SEVR, INFO, SPCE, WARN
from ..myplotlib import G_RAWDATAS
from ..myplotlib import Figure, MyAxes
from . import D_FIGSIZE, D_INPUTARG, D_DEBUG, D_REFORMAT, D_FORMATTED
from . import DBUG, SEVR, INFO, SPCE, WARN
from . import G_RAWDATAS
from . import Figure, MyAxes
# Class MyFig Overwriting Matplotlib.figure.Figure
......
......@@ -22,7 +22,7 @@
#
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import MyFig
from . import MyFig
# Class MyFig4Test
......
......@@ -29,10 +29,10 @@
#
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import DBUG
from ..myplotlib import D_IPATH
from ..myplotlib import MyData
from ..myplotlib import G_RAWDATAS
from . import DBUG
from . import D_IPATH
from . import MyData
from . import G_RAWDATAS
# READ STUPID DATA -----------------------------------------------------
......
......@@ -22,8 +22,8 @@
# ======================================================================
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import readStupidData, print2file, MyFig4Test
from ..myplotlib import INFO, SEVR
from . import readStupidData, print2file, MyFig4Test
from . import INFO, SEVR
# DEFINE SOME STANDARD SCRIPT ------------------------------------------
......
......@@ -34,15 +34,15 @@
# ======================================================================
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import D_OPATH, D_OFORMAT
from ..myplotlib import G_RAWDATAS, _G_WINDOWS
from ..myplotlib import INFO, SEVR, WARN, SPCE
from . import D_OPATH, D_OFORMAT
from . import G_RAWDATAS, _G_WINDOWS
from . import INFO, SEVR, WARN, SPCE
from ..myplotlib import ion, ioff, is_interactive
from . import ion, ioff, is_interactive
from ..myplotlib import MyWin, MyFig
from . import MyWin, MyFig
from ..myplotlib import np
from . import np
# TOOL FUNCTION FOR READING EXISTING DATA ------------------------------
......
......@@ -51,10 +51,10 @@
# ======================================================================
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import INFO, SEVR, WARN, DBUG, SPCE
from ..myplotlib import rcParams
from ..myplotlib import _G_WINDOWS
from ..myplotlib import np
from . import INFO, SEVR, WARN, DBUG, SPCE
from . import rcParams
from . import _G_WINDOWS
from . import np
# For the GTKAgg backend
from matplotlib.backends.backend_gtkagg import FigureManagerGTKAgg, FigureCanvasGTKAgg
......
......@@ -51,10 +51,10 @@
# ======================================================================
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import INFO, SEVR, WARN, DBUG, SPCE
from ..myplotlib import rcParams
from ..myplotlib import _G_WINDOWS
from ..myplotlib import np
from . import INFO, SEVR, WARN, DBUG, SPCE
from . import rcParams
from . import _G_WINDOWS
from . import np
# For the backend
from matplotlib.backends.backend_tkagg import FigureManagerTkAgg, FigureCanvasTkAgg
......
......@@ -51,10 +51,10 @@
# ======================================================================
#
# IMPORT ---------------------------------------------------------------
from ..myplotlib import INFO, SEVR, WARN, DBUG, SPCE
from ..myplotlib import rcParams
from ..myplotlib import _G_WINDOWS
from ..myplotlib import np
from . import INFO, SEVR, WARN, DBUG, SPCE
from . import rcParams
from . import _G_WINDOWS
from . import np
# For the WXAgg backend
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
......
from ..myplotlib import readStupidData, readStupidData2
from ..myplotlib import MyFig, MyWin
from ..myplotlib import SEVR, WARN, DBUG
from ..myplotlib import _G_WINDOWS
from . import readStupidData, readStupidData2
from . import MyFig, MyWin
from . import SEVR, WARN, DBUG
from . import _G_WINDOWS
# TESTER
......
Supports Markdown
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