This commit is contained in:
guanjihuan 2022-02-14 10:45:45 +08:00
parent af124f7019
commit 0476a7ca9b
3 changed files with 3 additions and 3 deletions

View File

@ -247,7 +247,7 @@ guan.plot_contour(x_array, y_array, matrix, xlabel='x', ylabel='y', title='', sh
parameter_array = guan.preprocess_for_parallel_calculations(parameter_array_all, cpus=1, task_index=0)
guan.bach_reading_and_plotting(directory, xlabel='x', ylabel='y')
guan.batch_reading_and_plotting(directory, xlabel='x', ylabel='y')

View File

@ -1,7 +1,7 @@
[metadata]
# replace with your username:
name = guan
version = 0.0.62
version = 0.0.63
author = guanjihuan
author_email = guanjihuan@163.com
description = An open source python package

View File

@ -1559,7 +1559,7 @@ def preprocess_for_parallel_calculations(parameter_array_all, cpus=1, task_index
parameter_array = parameter_array_all[task_index*num_parameter:num_all]
return parameter_array
def bach_reading_and_plotting(directory, xlabel='x', ylabel='y'):
def batch_reading_and_plotting(directory, xlabel='x', ylabel='y'):
import re
import os
for root, dirs, files in os.walk(directory):