LineageTree 1.6.0__py3-none-any.whl → 1.6.1__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.
- LineageTree/__init__.py +1 -1
- LineageTree/lineageTree.py +5 -4
- {LineageTree-1.6.0.dist-info → LineageTree-1.6.1.dist-info}/METADATA +1 -1
- LineageTree-1.6.1.dist-info/RECORD +11 -0
- LineageTree-1.6.0.dist-info/RECORD +0 -11
- {LineageTree-1.6.0.dist-info → LineageTree-1.6.1.dist-info}/LICENSE +0 -0
- {LineageTree-1.6.0.dist-info → LineageTree-1.6.1.dist-info}/WHEEL +0 -0
- {LineageTree-1.6.0.dist-info → LineageTree-1.6.1.dist-info}/top_level.txt +0 -0
LineageTree/__init__.py
CHANGED
LineageTree/lineageTree.py
CHANGED
@@ -1775,16 +1775,17 @@ class lineageTree(lineageTreeLoaders):
|
|
1775
1775
|
selected_cells=None,
|
1776
1776
|
color="magenta",
|
1777
1777
|
ax=None,
|
1778
|
+
figure=None,
|
1778
1779
|
**kwargs,
|
1779
1780
|
):
|
1780
1781
|
if selected_cells is None:
|
1781
1782
|
selected_cells = []
|
1782
1783
|
if ax is None:
|
1783
|
-
|
1784
|
+
figure, ax = plt.subplots()
|
1784
1785
|
else:
|
1785
1786
|
ax.clear()
|
1786
|
-
|
1787
|
-
|
1787
|
+
if not isinstance(selected_cells, set):
|
1788
|
+
selected_cells = set(selected_cells)
|
1788
1789
|
hier_unselected = {
|
1789
1790
|
k: v for k, v in hier.items() if k not in selected_cells
|
1790
1791
|
}
|
@@ -1826,7 +1827,7 @@ class lineageTree(lineageTreeLoaders):
|
|
1826
1827
|
)
|
1827
1828
|
ax.get_yaxis().set_visible(False)
|
1828
1829
|
ax.get_xaxis().set_visible(False)
|
1829
|
-
return ax
|
1830
|
+
return figure, ax
|
1830
1831
|
|
1831
1832
|
def to_simple_graph(self, node=None, start_time: int = None):
|
1832
1833
|
"""Generates a dictionary of graphs where the keys are the index of the graph and
|
@@ -0,0 +1,11 @@
|
|
1
|
+
LineageTree/__init__.py,sha256=fIOwpoeHI19rwQShQ50iRXyRg4OXzVo_A4q_BUDBmsk,155
|
2
|
+
LineageTree/lineageTree.py,sha256=lamlTaHtu3gPUCMKIvlCHQqGMbcQAHCvgS8MB6EHWTQ,102742
|
3
|
+
LineageTree/lineageTreeManager.py,sha256=tQMNmxAvUEd4fNLJViB-9DGItpgCRnSF-bS2_IdebMo,5566
|
4
|
+
LineageTree/loaders.py,sha256=hKd-69d_csjcsV0zabSTEOyy0NhprFqvnRAI18tYa9w,23718
|
5
|
+
LineageTree/tree_styles.py,sha256=IUEq8RHfwXTv3WXylpLVa5XoThaWt1i1cRsgZGXdd50,10634
|
6
|
+
LineageTree/utils.py,sha256=kC90fi8TFm8Pz7oom_bDsq7HPPKnFdJ6wI-x36fLvHE,4962
|
7
|
+
LineageTree-1.6.1.dist-info/LICENSE,sha256=IKncNCNpq93Kq7Ywg1V4I9Bu_99VMK-mX1EJyjTKLyc,1068
|
8
|
+
LineageTree-1.6.1.dist-info/METADATA,sha256=eDkg_GjSQtFDXXjmyagn-gXRosFsDq2n8706srcixA8,4195
|
9
|
+
LineageTree-1.6.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
10
|
+
LineageTree-1.6.1.dist-info/top_level.txt,sha256=CCqPCTX76zPTEUagUgTWbLaZun8752n59iOOwfUlvxs,12
|
11
|
+
LineageTree-1.6.1.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
LineageTree/__init__.py,sha256=P4WGjjokRD5ugh27WC263Pwll1PmMdLgHyshMVLNvIc,155
|
2
|
-
LineageTree/lineageTree.py,sha256=srhZ8UI4iBsKmSEIVhn0OpKuTSyrE6npEMxjj4v666M,102657
|
3
|
-
LineageTree/lineageTreeManager.py,sha256=tQMNmxAvUEd4fNLJViB-9DGItpgCRnSF-bS2_IdebMo,5566
|
4
|
-
LineageTree/loaders.py,sha256=hKd-69d_csjcsV0zabSTEOyy0NhprFqvnRAI18tYa9w,23718
|
5
|
-
LineageTree/tree_styles.py,sha256=IUEq8RHfwXTv3WXylpLVa5XoThaWt1i1cRsgZGXdd50,10634
|
6
|
-
LineageTree/utils.py,sha256=kC90fi8TFm8Pz7oom_bDsq7HPPKnFdJ6wI-x36fLvHE,4962
|
7
|
-
LineageTree-1.6.0.dist-info/LICENSE,sha256=IKncNCNpq93Kq7Ywg1V4I9Bu_99VMK-mX1EJyjTKLyc,1068
|
8
|
-
LineageTree-1.6.0.dist-info/METADATA,sha256=XlCCU5B8WqbKT0EiGqgf-kvVFH5D2aSWQzygUCc3YT4,4195
|
9
|
-
LineageTree-1.6.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
10
|
-
LineageTree-1.6.0.dist-info/top_level.txt,sha256=CCqPCTX76zPTEUagUgTWbLaZun8752n59iOOwfUlvxs,12
|
11
|
-
LineageTree-1.6.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|