Commit 7600dd71 authored by Yori 'AGy' Fournier's avatar Yori 'AGy' Fournier
Browse files

issue #23: CLEANING

Now when creating an Axes the __init__ function does not need to be overwritten, just plotting and formatRawData.
parent 273df977
......@@ -90,6 +90,8 @@ class MyAxes(Axes):
# parent constructor
Axes.__init__(self, fig, rect, **kwargs)
self.fig = fig
# PLOTTING -----------------------------------------------------------
# the plotting function (need to be overwrite from child
......
......@@ -49,15 +49,6 @@ from .. import MyAxes
# Class MyAxes Overwriting Matplotlib.figure.Axes
class AxTest1(MyAxes):
# CONSTRUCTOR --------------------------------------------------------
def __init__(self, fig, ratio, frameRect, *args, **kwargs):
self.fig = fig
# parent constructor
MyAxes.__init__(self, fig, ratio, frameRect, *args, **kwargs)
# PLOTTING -----------------------------------------------------------
# the plotting function (need to be overwrite from child
def plotting(self):
......
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