iplotx 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl
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.
- iplotx/__init__.py +22 -1
- iplotx/edge/__init__.py +882 -0
- iplotx/edge/arrow.py +220 -10
- iplotx/edge/ports.py +42 -0
- iplotx/groups.py +79 -41
- iplotx/ingest/__init__.py +155 -0
- iplotx/ingest/heuristics.py +209 -0
- iplotx/ingest/providers/network/igraph.py +96 -0
- iplotx/ingest/providers/network/networkx.py +133 -0
- iplotx/ingest/providers/tree/biopython.py +105 -0
- iplotx/ingest/providers/tree/cogent3.py +112 -0
- iplotx/ingest/providers/tree/ete4.py +112 -0
- iplotx/ingest/providers/tree/skbio.py +112 -0
- iplotx/ingest/typing.py +100 -0
- iplotx/label.py +127 -0
- iplotx/layout.py +139 -0
- iplotx/network.py +156 -375
- iplotx/plotting.py +157 -56
- iplotx/style.py +379 -0
- iplotx/tree.py +285 -0
- iplotx/typing.py +33 -38
- iplotx/utils/geometry.py +128 -81
- iplotx/utils/internal.py +3 -0
- iplotx/utils/matplotlib.py +58 -38
- iplotx/utils/style.py +1 -0
- iplotx/version.py +5 -1
- iplotx/vertex.py +250 -55
- {iplotx-0.1.0.dist-info → iplotx-0.2.0.dist-info}/METADATA +37 -8
- iplotx-0.2.0.dist-info/RECORD +30 -0
- iplotx/edge/common.py +0 -47
- iplotx/edge/directed.py +0 -149
- iplotx/edge/label.py +0 -50
- iplotx/edge/undirected.py +0 -447
- iplotx/heuristics.py +0 -114
- iplotx/importing.py +0 -13
- iplotx/styles.py +0 -186
- iplotx-0.1.0.dist-info/RECORD +0 -20
- {iplotx-0.1.0.dist-info → iplotx-0.2.0.dist-info}/WHEEL +0 -0
iplotx/__init__.py
CHANGED
|
@@ -1,2 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
iplotx is a library for interactive plotting of networks and trees in
|
|
3
|
+
matplotlib.
|
|
4
|
+
|
|
5
|
+
It guarantees the visualisation will look exactly the same no matter what
|
|
6
|
+
library was used to construct the network.
|
|
7
|
+
"""
|
|
8
|
+
|
|
1
9
|
from .version import __version__
|
|
2
|
-
from .plotting import
|
|
10
|
+
from .plotting import (
|
|
11
|
+
network,
|
|
12
|
+
tree,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
# Shortcut to iplotx.plotting.network
|
|
16
|
+
plot = network
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"network",
|
|
20
|
+
"tree",
|
|
21
|
+
"plot",
|
|
22
|
+
"__version__",
|
|
23
|
+
]
|