Skip to content
Snippets Groups Projects
Commit 51fb34c9 authored by 数学の武士's avatar 数学の武士
Browse files

Merge branch 'fix_traspose' into 'main'

fix transpose to work when not defined by caller

See merge request !3
parents cbee0fc0 8aa9d01c
No related branches found
No related tags found
1 merge request!3fix transpose to work when not defined by caller
...@@ -98,6 +98,9 @@ class Plotter: ...@@ -98,6 +98,9 @@ class Plotter:
for p in self.file_data: for p in self.file_data:
p.process_file(self.ndim, self.var, self.mval) p.process_file(self.ndim, self.var, self.mval)
self.fig_count = len(self.var) self.fig_count = len(self.var)
if self.transpose == None:
self.transpose = [False for _ in self.var]
def __plot(self): def __plot(self):
os.system("mkdir -p " + self.out) os.system("mkdir -p " + self.out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment