Commit 30866e20 authored by Yori Fournier's avatar Yori Fournier
Browse files

renamed mytool module to mpl_toolbox

parent fe95c938
......@@ -184,19 +184,19 @@ if D_HIERARCHY in ('CLIENT', 'client', 'LOCAL', 'local'):
print(SEVR + """The backend you choosed is not
supported interactive mode not available""")
# myTool.*: interface functions to use myplotlib interactively
# mpl_tool_box.*: interface functions to use myplotlib interactively
# from .mytool import print2file # need to make tools for server ?? or just put them in client/local
#from .mytool import FigOneAxes
# from .mpl_tool_box import print2file # need to make tools for server ?? or just put them in client/local
#from .mpl_tool_box import FigOneAxes
# if D_HIERARCHY in ('CLIENT', 'client', 'LOCAL', 'local'):
# from .mytool import print2file # need to make tools for server ?? or just put them in client/local
# from .mytool import FigOneAxes
# from .mytool import window_exists, getCurrentWindowIDs
# from .mytool import print2file, print2screen, printListCurrentWindows
# from .mytool import getWindow, getFigOnWindow, drawFigOnWindow, giveDataToWindow
# from .mytool import closeWindow, closeAllWindows
# from .mpl_tool_box import print2file # need to make tools for server ?? or just put them in client/local
# from .mpl_tool_box import FigOneAxes
# from .mpl_tool_box import window_exists, getCurrentWindowIDs
# from .mpl_tool_box import print2file, print2screen, printListCurrentWindows
# from .mpl_tool_box import getWindow, getFigOnWindow, drawFigOnWindow, giveDataToWindow
# from .mpl_tool_box import closeWindow, closeAllWindows
# TESTS ----------------------------------------------------------------
......
......@@ -6,7 +6,7 @@ import unittest
sys.path.append('../../')
from myplotlib import MyData
from myplotlib.mytool import FormatterListToLine, FormatterArrayToLines, FormatterAppendToLines
from myplotlib.mpl_toolbox import FormatterListToLine, FormatterArrayToLines, FormatterAppendToLines
class FormatterListToLineTestCase(unittest.TestCase):
......
......@@ -6,7 +6,7 @@ import unittest
sys.path.append('../../')
from myplotlib import MplData
from myplotlib.mytool import FormatterListToLine, FormatterArrayToLines, FormatterAppendToLines
from myplotlib.mpl_toolbox import FormatterListToLine, FormatterArrayToLines, FormatterAppendToLines
class FormatterListToLineTestCase(unittest.TestCase):
......
......@@ -6,7 +6,7 @@ import unittest
sys.path.append('../../')
from myplotlib import EmptyFig, MplData
from myplotlib.mytool import WeightedGrid, Ax2dPlots
from myplotlib.mpl_toolbox import WeightedGrid, Ax2dPlots
class WeightedGridTestCase(unittest.TestCase):
......
......@@ -6,7 +6,7 @@ def script(with_print=False):
sys.path.append('../../')
from myplotlib.mytool import Ax2dPlots
from myplotlib.mpl_toolbox import Ax2dPlots
from myplotlib import EmptyFig, MplData
data = [0.1, 0.2, 0.4, 0.6, 1., 0.9, 1.2, 1.3, 1.2]
......
......@@ -6,7 +6,7 @@ def script(with_print=False):
sys.path.append('../../')
from myplotlib.mytool import Ax2dPlots, FormatterArrayToLines
from myplotlib.mpl_toolbox import Ax2dPlots, FormatterArrayToLines
from myplotlib import EmptyFig, MplData, VerticalGrid
# rawdata set
......
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