summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2018-03-21 16:07:44 +0100
committerGard Spreemann <gspreemann@gmail.com>2018-03-21 16:07:44 +0100
commit5171e20a4b1147bb5ef581c0e0294eba9d2480c1 (patch)
tree6084b60786972b092cfa21e32d0fcca9356dd97c
parentda94ac5c18449abe5b8c25a3bf22cc1301dfa59f (diff)
* Version 0.0.10.v0.0.10
* Use plot instead of scatter for small performance improvement.
-rw-r--r--README.md4
-rw-r--r--phstuff/barcode.py4
-rw-r--r--setup.py4
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",