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

hotfix

parent 0b93cbe2
Branches
No related tags found
No related merge requests found
......@@ -387,6 +387,11 @@ class Plotter:
basename1 = os.path.basename(self.filename[1])
self.title = str(basename0) + ' - ' + str(basename1)
if self.ndim == 1:
self.__get_min_max_ax()
elif self.ndim == 2:
self.__get_min_max_bar()
if self.ndim == 1:
self.__plot()
elif self.ndim == 2:
......@@ -396,6 +401,7 @@ class Plotter:
self.__dump()
def plot(self):
self.__get_min_max_ax()
self.__plot()
def ani_plot(self):
......@@ -403,6 +409,7 @@ class Plotter:
self.__ani_plot()
def avg_plot(self):
self.__get_min_max_ax()
self.__avg_plot()
def plot_contour(self):
......@@ -417,7 +424,5 @@ class Plotter:
self.__plot_diff()
def get_data(self):
# filenames = [os.path.basename(name) for name in self.filename]
# return_data = {name : copy.deepcopy(data.data) for name, data in zip(filenames, self.file_data)}
return_data = [copy.deepcopy(data.data) for data in self.file_data]
return return_data
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment