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

Merge branch 'bugfix-formatted-false-by-set-rawdata' into 'dev'

BUGFIX: formatted not updated in set_rawdata

See merge request !11
parents c8792c08 e0dc23b8
......@@ -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,15 @@ 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(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