From 41a133a2ff2431136c844fad0d90bf97e630ae80 Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Fri, 1 Apr 2022 16:55:40 +0800 Subject: [PATCH] 0.0.84 --- API_Reference/API_Reference.py | 2 +- PyPI/setup.cfg | 2 +- PyPI/src/guan/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/API_Reference/API_Reference.py b/API_Reference/API_Reference.py index 0755826..cbe9c91 100644 --- a/API_Reference/API_Reference.py +++ b/API_Reference/API_Reference.py @@ -247,7 +247,7 @@ guan.plot_3d_surface(x_array, y_array, matrix, xlabel='x', ylabel='y', zlabel='z guan.plot_contour(x_array, y_array, matrix, xlabel='x', ylabel='y', title='', fontsize=20, labelsize=15, show=1, save=0, filename='a', format='jpg', dpi=300) -guan.draw_dots_and_lines(coordinate_array, draw_dots=1, draw_lines=1, max_distance=1.1, line_style='-k', linewidth=1, dot_style='ro', markersize=3, show=0, save=1, filename='a', format='eps', dpi=300) +guan.draw_dots_and_lines(coordinate_array, draw_dots=1, draw_lines=1, max_distance=1.1, line_style='-k', linewidth=1, dot_style='ro', markersize=3, show=1, save=0, filename='a', format='eps', dpi=300) guan.combine_two_images(image_path_array, figsize=(16,8), show=0, save=1, filename='a', format='jpg', dpi=300) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 9ba6deb..3d26a40 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.0.83 +version = 0.0.84 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index 88f536f..da5fda2 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -1592,7 +1592,7 @@ def plot_contour(x_array, y_array, matrix, xlabel='x', ylabel='y', title='', fon plt.show() plt.close('all') -def draw_dots_and_lines(coordinate_array, draw_dots=1, draw_lines=1, max_distance=1.1, line_style='-k', linewidth=1, dot_style='ro', markersize=3, show=0, save=1, filename='a', format='eps', dpi=300): +def draw_dots_and_lines(coordinate_array, draw_dots=1, draw_lines=1, max_distance=1.1, line_style='-k', linewidth=1, dot_style='ro', markersize=3, show=1, save=0, filename='a', format='eps', dpi=300): import matplotlib.pyplot as plt coordinate_array = np.array(coordinate_array) print(coordinate_array.shape)