phylogenie 2.1.27__py3-none-any.whl → 2.1.28__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.
Potentially problematic release.
This version of phylogenie might be problematic. Click here for more details.
- phylogenie/draw.py +5 -1
- {phylogenie-2.1.27.dist-info → phylogenie-2.1.28.dist-info}/METADATA +1 -1
- {phylogenie-2.1.27.dist-info → phylogenie-2.1.28.dist-info}/RECORD +6 -6
- {phylogenie-2.1.27.dist-info → phylogenie-2.1.28.dist-info}/LICENSE.txt +0 -0
- {phylogenie-2.1.27.dist-info → phylogenie-2.1.28.dist-info}/WHEEL +0 -0
- {phylogenie-2.1.27.dist-info → phylogenie-2.1.28.dist-info}/entry_points.txt +0 -0
phylogenie/draw.py
CHANGED
|
@@ -57,6 +57,7 @@ def draw_tree(
|
|
|
57
57
|
vmin: float | None = None,
|
|
58
58
|
vmax: float | None = None,
|
|
59
59
|
show_legend: bool = True,
|
|
60
|
+
labels: dict[Any, Any] | None = None,
|
|
60
61
|
legend_kwargs: dict[str, Any] | None = None,
|
|
61
62
|
show_hist: bool = True,
|
|
62
63
|
hist_kwargs: dict[str, Any] | None = None,
|
|
@@ -98,7 +99,10 @@ def draw_tree(
|
|
|
98
99
|
|
|
99
100
|
if show_legend:
|
|
100
101
|
legend_handles = [
|
|
101
|
-
mpatches.Patch(
|
|
102
|
+
mpatches.Patch(
|
|
103
|
+
color=feature_colors[f],
|
|
104
|
+
label=str(f) if labels is None else labels[f],
|
|
105
|
+
)
|
|
102
106
|
for f in feature_colors
|
|
103
107
|
]
|
|
104
108
|
if any(color_by not in node.features for node in tree):
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
phylogenie/__init__.py,sha256=FdNHTw1U1eYDz8w_EOvk9R0rdOXvCMAgbm7ilXs6Fog,2861
|
|
2
|
-
phylogenie/draw.py,sha256=
|
|
2
|
+
phylogenie/draw.py,sha256=jM24oCGkU66IsEm56IAcq0pCSVXC8ltyYJQizNwDJl8,5451
|
|
3
3
|
phylogenie/generators/__init__.py,sha256=zsOxy28-9j9alOQLIgrOAFfmM58NNHO_NEtW-KXQXAY,888
|
|
4
4
|
phylogenie/generators/alisim.py,sha256=1YQLpOG_Bpn9YqExQqEu-wz1MDGCbpPmTdhrBb6TbWc,2820
|
|
5
5
|
phylogenie/generators/configs.py,sha256=zjNnljBBC-d6DTjWjieE8-HnKeE58LAy3moBYiD6NFo,1042
|
|
@@ -32,8 +32,8 @@ phylogenie/treesimulator/model.py,sha256=lhDwmBFQ8Qh8qVGZPgED0vehtPC3DE7_CgCV_8r
|
|
|
32
32
|
phylogenie/typeguards.py,sha256=JtqmbEWJZBRHbWgCvcl6nrWm3VcBfzRbklbTBYHItn0,1325
|
|
33
33
|
phylogenie/typings.py,sha256=p694PBe_tk25A6N8vGGWxuqoDtt3nHFUsIYJrwR_76Y,494
|
|
34
34
|
phylogenie/utils.py,sha256=ehVk_2kvjW8Q_EyM2kxBPHYiK-KlPmZQx7JeVN6Fh-E,5419
|
|
35
|
-
phylogenie-2.1.
|
|
36
|
-
phylogenie-2.1.
|
|
37
|
-
phylogenie-2.1.
|
|
38
|
-
phylogenie-2.1.
|
|
39
|
-
phylogenie-2.1.
|
|
35
|
+
phylogenie-2.1.28.dist-info/LICENSE.txt,sha256=NUrDqElK-eD3I0WqC004CJsy6cs0JgsAoebDv_42-pw,1071
|
|
36
|
+
phylogenie-2.1.28.dist-info/METADATA,sha256=tC9r3osM37OauXzzqD0P3K1-HsOIQjYx7_tWiUfn6i4,5477
|
|
37
|
+
phylogenie-2.1.28.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
38
|
+
phylogenie-2.1.28.dist-info/entry_points.txt,sha256=Rt6_usN0FkBX1ZfiqCirjMN9FKOgFLG8rydcQ8kugeE,51
|
|
39
|
+
phylogenie-2.1.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|