From eda908e67e9d1f89a6a7fd71963fb5181062fe28 Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Fri, 14 Oct 2022 10:32:57 +0800 Subject: [PATCH] 0.0.145 --- PyPI/setup.cfg | 2 +- PyPI/src/guan.egg-info/PKG-INFO | 2 +- PyPI/src/guan/__init__.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 814bce7..0e98025 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.0.144 +version = 0.0.145 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index 5d572bf..d9286b2 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: guan -Version: 0.0.144 +Version: 0.0.145 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index c1576ee..cbb40fc 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -2,7 +2,7 @@ # With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing. -# The current version is guan-0.0.144, updated on December 14, 2022. +# The current version is guan-0.0.145, updated on December 14, 2022. # Installation: pip install --upgrade guan @@ -2180,7 +2180,7 @@ def plot_without_starting_fig(plt, fig, ax, x_array, y_array, xlabel='x', ylabel if color==None: ax.plot(x_array, y_array, style, linewidth=linewidth, markersize=markersize) else: - ax.plot(x_array, y_array, style, linewidth=linewidth, markersize=markersize, color=None) + ax.plot(x_array, y_array, style, linewidth=linewidth, markersize=markersize, color=color) ax.set_title(title, fontsize=fontsize, fontfamily='Times New Roman') ax.set_xlabel(xlabel, fontsize=fontsize, fontfamily='Times New Roman') ax.set_ylabel(ylabel, fontsize=fontsize, fontfamily='Times New Roman')