From 5171e20a4b1147bb5ef581c0e0294eba9d2480c1 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Wed, 21 Mar 2018 16:07:44 +0100 Subject: * Version 0.0.10. * Use plot instead of scatter for small performance improvement. --- README.md | 4 ++-- phstuff/barcode.py | 4 ++-- setup.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 171f1c4..1194f0d 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ following caveats: Installation ----- -Version 0.0.9 is available -[here](https://nonempty.org/software/python-phstuff/phstuff-0.0.9.tar.gz). The +Version 0.0.10 is available +[here](https://nonempty.org/software/python-phstuff/phstuff-0.0.10.tar.gz). The package can be installed using standard Python tools, for example by doing `python setup.py install --user` or something similar. diff --git a/phstuff/barcode.py b/phstuff/barcode.py index 9e562a6..adce5e5 100644 --- a/phstuff/barcode.py +++ b/phstuff/barcode.py @@ -83,10 +83,10 @@ def plot(ax, barcode, min_scale, max_scale, color = "black", finite_marker = "." infinites = np.array(infinites) if finites.shape[0] > 0: - ax.scatter(finites[:, 0], finites[:, 1], color = color, marker = finite_marker, alpha = alpha, zorder=10) + ax.plot(finites[:, 0], finites[:, 1], color = color, marker = finite_marker, linestyle = "None", alpha = alpha, zorder=10) if infinites.shape[0] > 0: - ax.scatter(infinites[:, 0], infinites[:, 1], color = color, marker = infinite_marker, alpha = alpha, zorder=10) + ax.plot(infinites[:, 0], infinites[:, 1], color = color, marker = infinite_marker, linestyle = "None", alpha = alpha, zorder=10) below_diag_patch = ax.add_patch( diff --git a/setup.py b/setup.py index b6280ba..fbc4ba3 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ from setuptools import setup setup(name="phstuff", - version="0.0.9", # Remember to update version and download - # information in README.md too! + version="0.0.10", # Remember to update version and download + # information in README.md too! description="Some persistent homology glue", url="https://nonempty.org/software/python-phstuff", author="Gard Spreemann", -- cgit v1.2.3