phylogenie 2.1.18__py3-none-any.whl → 2.1.19__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.
- phylogenie/plot.py +2 -11
- {phylogenie-2.1.18.dist-info → phylogenie-2.1.19.dist-info}/METADATA +1 -1
- {phylogenie-2.1.18.dist-info → phylogenie-2.1.19.dist-info}/RECORD +6 -6
- {phylogenie-2.1.18.dist-info → phylogenie-2.1.19.dist-info}/LICENSE.txt +0 -0
- {phylogenie-2.1.18.dist-info → phylogenie-2.1.19.dist-info}/WHEEL +0 -0
- {phylogenie-2.1.18.dist-info → phylogenie-2.1.19.dist-info}/entry_points.txt +0 -0
phylogenie/plot.py
CHANGED
|
@@ -71,7 +71,7 @@ def plot_tree(
|
|
|
71
71
|
]
|
|
72
72
|
if any(color_by not in node.features for node in tree):
|
|
73
73
|
legend_handles.append(
|
|
74
|
-
mpatches.Patch(color=default_color, label="
|
|
74
|
+
mpatches.Patch(color=default_color, label="NA")
|
|
75
75
|
)
|
|
76
76
|
ax.legend(handles=legend_handles, title=color_by) # pyright: ignore
|
|
77
77
|
|
|
@@ -88,12 +88,7 @@ def plot_tree(
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
if show_hist:
|
|
91
|
-
default_hist_axes_kwargs = {
|
|
92
|
-
"width": "25%",
|
|
93
|
-
"height": "25%",
|
|
94
|
-
"loc": "lower left",
|
|
95
|
-
"borderpad": 3,
|
|
96
|
-
}
|
|
91
|
+
default_hist_axes_kwargs = {"width": "25%", "height": "25%"}
|
|
97
92
|
if hist_axes_kwargs is not None:
|
|
98
93
|
default_hist_axes_kwargs.update(hist_axes_kwargs)
|
|
99
94
|
hist_ax = inset_axes(ax, **default_hist_axes_kwargs) # pyright: ignore
|
|
@@ -108,10 +103,6 @@ def plot_tree(
|
|
|
108
103
|
):
|
|
109
104
|
midpoint = (b0 + b1) / 2 # pyright: ignore
|
|
110
105
|
patch.set_facecolor(colormap(norm(midpoint))) # pyright: ignore
|
|
111
|
-
|
|
112
|
-
hist_ax.set_xlabel(color_by.capitalize(), fontsize=8) # pyright: ignore
|
|
113
|
-
hist_ax.set_ylabel("Count", fontsize=8) # pyright: ignore
|
|
114
|
-
hist_ax.tick_params(axis="both", labelsize=6) # pyright: ignore
|
|
115
106
|
else:
|
|
116
107
|
sm = plt.cm.ScalarMappable(cmap=colormap, norm=norm)
|
|
117
108
|
ax.get_figure().colorbar(sm, ax=ax) # pyright: ignore
|
|
@@ -10,7 +10,7 @@ phylogenie/io.py,sha256=nwy8DOknt0HqF9qMeFZHrCmSXpM5AGrU5oajwTtD6vY,3973
|
|
|
10
10
|
phylogenie/main.py,sha256=vtvSpQxBNlYABoFQ25czl-l3fIr4QRo3svWVd-jcArw,1170
|
|
11
11
|
phylogenie/models.py,sha256=pCg9ob0RpLUHwM49x4knKxL4FNPr3-EU_6zMXsvxtAg,370
|
|
12
12
|
phylogenie/msa.py,sha256=JDGyZUsAq6-m-SQjoCDjAkAZIxfgyl_PDIhdYn5HOow,2064
|
|
13
|
-
phylogenie/plot.py,sha256=
|
|
13
|
+
phylogenie/plot.py,sha256=5xwPbZWO0jX_spEVPH7UUnxc7evqQbhSPKHWpXHNXro,5121
|
|
14
14
|
phylogenie/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
phylogenie/skyline/__init__.py,sha256=7pF4CUb4ZCLzNYJNhOjpuTOLTRhlK7L6ugfccNqjIGo,620
|
|
16
16
|
phylogenie/skyline/matrix.py,sha256=Gl8OgKjtieG0NwPYiPimKI36gefV8fm_OeorjdXxPTs,9146
|
|
@@ -28,8 +28,8 @@ phylogenie/treesimulator/model.py,sha256=Nyg6R8XmMwZMSw1-dII81sU9uU7tDe-NMs8v1qK
|
|
|
28
28
|
phylogenie/typeguards.py,sha256=JtqmbEWJZBRHbWgCvcl6nrWm3VcBfzRbklbTBYHItn0,1325
|
|
29
29
|
phylogenie/typings.py,sha256=GknvAFXyiaWeeYJ8Lk5d6E2VHT-xW6ONEojYbtJYiB8,476
|
|
30
30
|
phylogenie/utils.py,sha256=faDicpAtjxM-QDwPKOv8AOxPe7skPUOGKmVWBZRzUbU,1990
|
|
31
|
-
phylogenie-2.1.
|
|
32
|
-
phylogenie-2.1.
|
|
33
|
-
phylogenie-2.1.
|
|
34
|
-
phylogenie-2.1.
|
|
35
|
-
phylogenie-2.1.
|
|
31
|
+
phylogenie-2.1.19.dist-info/LICENSE.txt,sha256=NUrDqElK-eD3I0WqC004CJsy6cs0JgsAoebDv_42-pw,1071
|
|
32
|
+
phylogenie-2.1.19.dist-info/METADATA,sha256=g2cXt1gj4UITtGZgm21eKyOdyKHZYULHDuIpU32Gi9o,5477
|
|
33
|
+
phylogenie-2.1.19.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
34
|
+
phylogenie-2.1.19.dist-info/entry_points.txt,sha256=Rt6_usN0FkBX1ZfiqCirjMN9FKOgFLG8rydcQ8kugeE,51
|
|
35
|
+
phylogenie-2.1.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|