chalc 4.0.0.dev1__tar.gz → 4.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. {chalc-4.0.0.dev1 → chalc-4.0.1}/PKG-INFO +1 -1
  2. {chalc-4.0.0.dev1 → chalc-4.0.1}/pyproject.toml +1 -1
  3. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/plotting.py +3 -1
  4. {chalc-4.0.0.dev1 → chalc-4.0.1}/.clang-format +0 -0
  5. {chalc-4.0.0.dev1 → chalc-4.0.1}/.gitignore +0 -0
  6. {chalc-4.0.0.dev1 → chalc-4.0.1}/.gitmodules +0 -0
  7. {chalc-4.0.0.dev1 → chalc-4.0.1}/CMakeLists.txt +0 -0
  8. {chalc-4.0.0.dev1 → chalc-4.0.1}/COPYING +0 -0
  9. {chalc-4.0.0.dev1 → chalc-4.0.1}/README.md +0 -0
  10. {chalc-4.0.0.dev1 → chalc-4.0.1}/build_docs.sh +0 -0
  11. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/Makefile +0 -0
  12. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/README.md +0 -0
  13. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/make.bat +0 -0
  14. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/requirements.txt +0 -0
  15. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/API.rst +0 -0
  16. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/conf.py +0 -0
  17. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/example.ipynb +0 -0
  18. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/index.rst +0 -0
  19. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/installation.rst +0 -0
  20. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/license.rst +0 -0
  21. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/source/references.bib +0 -0
  22. {chalc-4.0.0.dev1 → chalc-4.0.1}/docs/static/css/custom.css +0 -0
  23. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/.clang-format +0 -0
  24. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/.git +0 -0
  25. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/.gitignore +0 -0
  26. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/CMakeLists.txt +0 -0
  27. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/CMakePresets.json +0 -0
  28. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/COPYING +0 -0
  29. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/README.md +0 -0
  30. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/cmb.hpp +0 -0
  31. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/example.cpp +0 -0
  32. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/degenerate_case.cpp +0 -0
  33. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/gmpzf_input.cpp +0 -0
  34. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/paper_example_1.cpp +0 -0
  35. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/paper_example_2.cpp +0 -0
  36. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/test_utils.hpp +0 -0
  37. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/triangle_2d.cpp +0 -0
  38. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/tests/triangle_3d.cpp +0 -0
  39. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/ConstrainedMiniball/vcpkg.json +0 -0
  40. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/__init__.py +0 -0
  41. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/_utils.py +0 -0
  42. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/chromatic/chromatic.cxx +0 -0
  43. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/chromatic/chromatic.h +0 -0
  44. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/chromatic.pyi +0 -0
  45. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/chromatic_py.cxx +0 -0
  46. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/common.h +0 -0
  47. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/filtration/filtration.cxx +0 -0
  48. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/filtration/filtration.h +0 -0
  49. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/filtration.pyi +0 -0
  50. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/filtration_py.cxx +0 -0
  51. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/py.typed +0 -0
  52. {chalc-4.0.0.dev1 → chalc-4.0.1}/src/chalc/sixpack.py +0 -0
  53. {chalc-4.0.0.dev1 → chalc-4.0.1}/tests/test_chalc.py +0 -0
  54. {chalc-4.0.0.dev1 → chalc-4.0.1}/vcpkg.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chalc
3
- Version: 4.0.0.dev1
3
+ Version: 4.0.1
4
4
  Summary: Persistent homology of chromatic Delaunay filtrations
5
5
  Keywords: topological data analysis,TDA,chromatic Delaunay,computational geometry,computational topology,persistent homology
6
6
  Author-Email: Abhinav Natarajan <natarajan@maths.ox.ac.uk>
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
4
4
 
5
5
  [project]
6
6
  name = "chalc"
7
- version = "4.0.0-dev1"
7
+ version = "4.0.1"
8
8
  authors = [{ name = "Abhinav Natarajan", email = "natarajan@maths.ox.ac.uk" }]
9
9
  description = "Persistent homology of chromatic Delaunay filtrations"
10
10
  readme = { file = "README.md", content-type = "text/markdown" }
@@ -12,6 +12,7 @@ import numpy as np
12
12
  import seaborn as sns
13
13
  from matplotlib.axes import Axes
14
14
  from matplotlib.figure import Figure
15
+ from matplotlib.legend import Legend
15
16
  from pandas import DataFrame
16
17
 
17
18
  from chalc.filtration import FilteredComplex
@@ -206,7 +207,8 @@ def _plot_diagram(
206
207
  ret_ax.set(ylabel=None)
207
208
  ret_ax.set(title=title)
208
209
  ret_ax.set_aspect("equal")
209
- if points_legend:
210
+ has_legend = any(True for c in ret_ax.get_children() if isinstance(c, Legend))
211
+ if points_legend and has_legend:
210
212
  sns.move_legend(ret_ax, "lower right")
211
213
  handle = ax if ax is not None else plt
212
214
  handle.plot([0, inf_level], [0, inf_level], "k-", alpha=0.4)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes