Commit c4bd8a5a authored by Yori Fournier's avatar Yori Fournier
Browse files

Merge branch 'dev' into 'add-tests'

Update bugfix into add-tests

See merge request !12
parents 02b99b12 fd45731f
......@@ -281,6 +281,7 @@ class MyFig(MyFig_base):
if(len(self.get_axes()) == len(rawdata)):
self.rawdata = rawdata
self.formatted = False
self.formatRawData()
else:
self.rawdata = ()
......@@ -310,10 +311,16 @@ class MyFig(MyFig_base):
status = True
if(self.debug):
print(DBUG + "currently formatting the data...")
if((self.reformat) or (not self.formatted)):
status = self.formatRawData()
if(not status): return(False)
if(self.debug):
print(DBUG + "currently plotting the axes...")
# For all axes in the figure reformat if needed and plot
for ax in self.get_axes():
......
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