Commit 39c8dc6c authored by Yori Fournier's avatar Yori Fournier
Browse files

Merge branch '88-cleanning-pep8-compilance' of...

Merge branch '88-cleanning-pep8-compilance' of gitlab.aip.de:yfournier/myplotlib into 88-cleanning-pep8-compilance
parents 30866e20 0fb65f5f
Pipeline #491 failed with stage
in 3 minutes and 30 seconds
from .myData import MyData
from .mpl_data import MplData
from matplotlib import rcParams
# FORM -----------------------------------------------------------------
......@@ -14,7 +14,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
from .myData import MyData
from .mpl_data import MplData
from matplotlib import rcParams
# FORM -----------------------------------------------------------------
......@@ -14,7 +14,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
from .myData import MyData
from .mpl_data import MplData
from matplotlib import rcParams
# FORM -----------------------------------------------------------------
......@@ -14,7 +14,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
from .myData import MyData
from .mpl_Data import MplData
from matplotlib import rcParams
# FORM -----------------------------------------------------------------
......@@ -14,7 +14,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
from .myData import MyData
from .mpl_Data import MplData
# TECHNICAL ------------------------------------------------------------
D_VERSION = 'v5'
......@@ -19,7 +19,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
......@@ -5,7 +5,7 @@
#
# myplotlib v3.0.1,
#
# @file myData.py
# @file mpl_data.py
# @author Yori 'AGy' Fournier
# @licence CC-BY-SA
#
......
......@@ -71,7 +71,7 @@ from . import os
from . import D_FIGSIZE, D_INPUTARG, D_DEBUG, D_REFORMAT, D_FORMATTED
from . import D_OFORMAT, D_OPATH
from . import DBUG, SEVR, INFO, SPCE, WARN
from . import MyData
from . import MplData
from . import MyAxes
from . import Figure
......
......@@ -71,7 +71,7 @@ from . import os
from . import D_FIGSIZE, D_INPUTARG, D_DEBUG, D_REFORMAT, D_FORMATTED
from . import D_OFORMAT, D_OPATH
from . import DBUG, SEVR, INFO, SPCE, WARN
from . import MyData
from . import MplData
#from . import MyAxes_server
......@@ -243,7 +243,7 @@ class MyFigServer(object):
return(False)
# CONVINIENT: one object for all axes
elif isinstance(rawdata, MyData):
elif isinstance(rawdata, MplData):
if(self.debug):
print(DBUG + "set_rawdata: one item for all axes")
# This is the trick rawdata becomes a generator (so smart)
......
......@@ -13,7 +13,7 @@
#
# @function readStupidData
#
# create some stupid data format them as myData format
# create some stupid data format them as MplData format
# and add then in G_RAWDATA such that they could be used
# by myAxes and myFig.
#
......
from .myData import MyData
from .mpl_data import MplData
# TECHNICAL ------------------------------------------------------------
D_VERSION='v5'
......@@ -19,7 +19,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
......@@ -13,7 +13,7 @@
#
# @function readStupidData
#
# create some stupid data format them as myData format
# create some stupid data format them as MplData format
# and add then in G_RAWDATA such that they could be used
# by myAxes and myFig.
#
......@@ -31,7 +31,7 @@
# IMPORT ---------------------------------------------------------------
from .. import DBUG
from .. import D_IPATH
from .. import MyData
from .. import MplData
# READ STUPID DATA -----------------------------------------------------
......@@ -39,7 +39,7 @@ def readStupidData(ipath=D_IPATH, *args, **kwargs):
debug = kwargs.get('debug', 0)
lrawdata = MyData()
lrawdata = MplData()
lrawdata.name = str(ipath)
lrawdata.data = [-1., 1., 1, -1.]
......@@ -54,7 +54,7 @@ def readStupidData2(ipath=D_IPATH, *args, **kwargs):
debug = kwargs.get('debug', 0)
lrawdata = MyData()
lrawdata = MplData()
lrawdata.name = str(ipath)
lrawdata.data = [-1., 1., -2., 2.]
......
......@@ -13,7 +13,7 @@
#
# @function readStupidData
#
# create some stupid data format them as myData format
# create some stupid data format them as MplData format
# and add then in G_RAWDATA such that they could be used
# by myAxes and myFig.
#
......@@ -31,7 +31,7 @@
# IMPORT ---------------------------------------------------------------
from .. import DBUG
from .. import D_IPATH
from .. import MyData
from .. import MplData
# READ STUPID DATA -----------------------------------------------------
......@@ -39,7 +39,7 @@ def readStupidData(ipath=D_IPATH, *args, **kwargs):
debug = kwargs.get('debug', 0)
lrawdata = MyData()
lrawdata = MplData()
lrawdata.name = str(ipath)
lrawdata.data = [-1., 1., 1, -1.]
......@@ -54,7 +54,7 @@ def readStupidData2(ipath=D_IPATH, *args, **kwargs):
debug = kwargs.get('debug', 0)
lrawdata = MyData()
lrawdata = MplData()
lrawdata.name = str(ipath)
lrawdata.data = [-1., 1., -2., 2.]
......
from .myData import MyData
from .mpl_data import MplData
# TECHNICAL ------------------------------------------------------------
D_VERSION='v5'
......@@ -19,7 +19,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
......@@ -13,7 +13,7 @@
#
# @function readStupidData
#
# create some stupid data format them as myData format
# create some stupid data format them as MplData format
# and add then in G_RAWDATA such that they could be used
# by myAxes and myFig.
#
......@@ -31,7 +31,7 @@
# IMPORT ---------------------------------------------------------------
from myplotlib import DBUG
from myplotlib import D_IPATH
from myplotlib import MyData
from myplotlib import MplData
# READ STUPID DATA -----------------------------------------------------
......@@ -39,7 +39,7 @@ def readStupidData(ipath=D_IPATH, *args, **kwargs):
debug = kwargs.get('debug', 0)
lrawdata = MyData()
lrawdata = MplData()
lrawdata.name = str(ipath)
lrawdata.data = [-1., 1., 1, -1.]
......@@ -54,7 +54,7 @@ def readStupidData2(ipath=D_IPATH, *args, **kwargs):
debug = kwargs.get('debug', 0)
lrawdata = MyData()
lrawdata = MplData()
lrawdata.name = str(ipath)
lrawdata.data = [-1., 1., -2., 2.]
......
from .myData import MyData
from .mpl_data import MplData
# TECHNICAL ------------------------------------------------------------
D_VERSION='v5'
......@@ -19,7 +19,7 @@ D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_RAWDATA = MplData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
......
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