marsilea 0.3.2__py3-none-any.whl → 0.3.4__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.
- marsilea/__init__.py +5 -2
- marsilea/_api.py +3 -2
- marsilea/_deform.py +44 -38
- marsilea/base.py +749 -118
- marsilea/dataset.py +49 -23
- marsilea/dendrogram.py +119 -84
- marsilea/exceptions.py +5 -6
- marsilea/heatmap.py +85 -25
- marsilea/layers.py +78 -69
- marsilea/layout.py +132 -102
- marsilea/plotter/__init__.py +29 -0
- marsilea/plotter/_images.py +37 -7
- marsilea/plotter/_seaborn.py +35 -24
- marsilea/plotter/_utils.py +3 -2
- marsilea/plotter/arc.py +29 -19
- marsilea/plotter/area.py +95 -0
- marsilea/plotter/bar.py +113 -90
- marsilea/plotter/base.py +76 -49
- marsilea/plotter/bio.py +40 -30
- marsilea/plotter/mesh.py +184 -88
- marsilea/plotter/text.py +303 -194
- marsilea/upset.py +229 -151
- marsilea/utils.py +23 -10
- {marsilea-0.3.2.dist-info → marsilea-0.3.4.dist-info}/LICENSE +1 -1
- marsilea-0.3.4.dist-info/METADATA +76 -0
- marsilea-0.3.4.dist-info/RECORD +27 -0
- marsilea-0.3.2.dist-info/METADATA +0 -50
- marsilea-0.3.2.dist-info/RECORD +0 -26
- {marsilea-0.3.2.dist-info → marsilea-0.3.4.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: marsilea
|
|
3
|
+
Version: 0.3.4
|
|
4
|
+
Summary: Create x-layout visualization
|
|
5
|
+
Author: Zhihang Zheng
|
|
6
|
+
Author-email: Mr-Milk <yzheng@cemm.at>
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Framework :: Matplotlib
|
|
12
|
+
Requires-Dist: numpy
|
|
13
|
+
Requires-Dist: pandas
|
|
14
|
+
Requires-Dist: matplotlib>=3.6
|
|
15
|
+
Requires-Dist: seaborn
|
|
16
|
+
Requires-Dist: scipy
|
|
17
|
+
Requires-Dist: legendkit
|
|
18
|
+
Requires-Dist: platformdirs
|
|
19
|
+
Requires-Dist: ruff ; extra == "dev"
|
|
20
|
+
Requires-Dist: icecream ; extra == "dev"
|
|
21
|
+
Requires-Dist: python-hmr ; extra == "dev"
|
|
22
|
+
Requires-Dist: pytest ; extra == "dev"
|
|
23
|
+
Requires-Dist: scikit-learn ; extra == "dev"
|
|
24
|
+
Requires-Dist: sphinx ; extra == "dev"
|
|
25
|
+
Requires-Dist: numpydoc ; extra == "dev"
|
|
26
|
+
Requires-Dist: sphinx_design ; extra == "dev"
|
|
27
|
+
Requires-Dist: pydata-sphinx-theme ; extra == "dev"
|
|
28
|
+
Requires-Dist: sphinx-copybutton ; extra == "dev"
|
|
29
|
+
Requires-Dist: sphinx_gallery ; extra == "dev"
|
|
30
|
+
Requires-Dist: mpl_fontkit ; extra == "dev"
|
|
31
|
+
Project-URL: Home, https://github.com/Marsilea-viz/marsilea
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
|
|
34
|
+
<p align="center">
|
|
35
|
+
<picture align="center">
|
|
36
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-dark.jpg">
|
|
37
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-blue.jpg">
|
|
38
|
+
<img alt="Shows a bar chart with benchmark results." src="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-dark.jpg" width="400">
|
|
39
|
+
</picture>
|
|
40
|
+
</p>
|
|
41
|
+
|
|
42
|
+
[](https://marsilea.readthedocs.io/en/stable)
|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
❗We are in beta, API may change and bugs expected
|
|
46
|
+
|
|
47
|
+
### Declarative creation of composable visualization!
|
|
48
|
+
|
|
49
|
+
[Read Documentation](https://marsilea.readthedocs.io/)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Installation
|
|
53
|
+
|
|
54
|
+
```shell
|
|
55
|
+
pip install marsilea
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
[//]: # (### Examples)
|
|
59
|
+
|
|
60
|
+
[//]: # ()
|
|
61
|
+
[//]: # (| | |)
|
|
62
|
+
|
|
63
|
+
[//]: # (|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|)
|
|
64
|
+
|
|
65
|
+
[//]: # (| Heatmap | Oncoprint |)
|
|
66
|
+
|
|
67
|
+
[//]: # (| <img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_pbmc3k_001_2_00x.png" width=400> | <img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_oncoprint_005_2_00x.png" width=400> |)
|
|
68
|
+
|
|
69
|
+
[//]: # (| Upsetplot | Composition Stacked Bar |)
|
|
70
|
+
|
|
71
|
+
[//]: # (| <img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_upset_001_2_00x.png" width=400> | <img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_oil_well_001_2_00x.png" width=400> |)
|
|
72
|
+
|
|
73
|
+
[//]: # (| Arc Diagram | Protein sequence alignment |)
|
|
74
|
+
|
|
75
|
+
[//]: # (| <img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_arc_diagram_001_2_00x.png" width=400> | <img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_seqalign_001_2_00x.png" width=400> |)
|
|
76
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
marsilea/__init__.py,sha256=xBHLXhwY1QPzu_IVW4za0u8ZUWG6gfQCP3V6O-UEEf0,533
|
|
2
|
+
marsilea/_api.py,sha256=tymWZHfjhx8-0NNd9762znfdIu36NrARRweEIr5L1mA,283
|
|
3
|
+
marsilea/_deform.py,sha256=SKXLvhyUrwTRAw7Fl--OpupDLk6T3S5DRfwCAdewHQs,14138
|
|
4
|
+
marsilea/base.py,sha256=t11XDYIjQmeK3tkhY2WFtJrASooY4PGJheEYnWYDVuY,45867
|
|
5
|
+
marsilea/dataset.py,sha256=a0mXjPu9_tRGHofnnQaTryFpxftkfqldq_ZLXMSBf7A,4410
|
|
6
|
+
marsilea/dendrogram.py,sha256=WUnV2JMSY9mPt1sfkFAEikkl2ta7xHFD13teas_iZgE,14767
|
|
7
|
+
marsilea/exceptions.py,sha256=Wxy31eCWkoXTPwqaa7R5F7cJ3uCtzqhJXmxVqqX8eAA,661
|
|
8
|
+
marsilea/heatmap.py,sha256=lKGt0lTtziNFDsb_SBfFt3zoYzVYRzezc9aae5RxHyk,4168
|
|
9
|
+
marsilea/layers.py,sha256=puXLlGGpEqAzaTqadpgpsYmIDPH33WyyHIuysRSqFZQ,12163
|
|
10
|
+
marsilea/layout.py,sha256=X8MGPlAbbr7dcZiqW4pI7sEb8U3jVaiS7t1DKOqMYLI,27758
|
|
11
|
+
marsilea/upset.py,sha256=12ExZ6yUQocd3bSLYtizEblJgILn_QCQaoeP-SP2q9E,30138
|
|
12
|
+
marsilea/utils.py,sha256=IaAaOBdE668XuGiA-k_gmOtHYqfpIxPv_-molMSBPfs,2851
|
|
13
|
+
marsilea/plotter/__init__.py,sha256=aEN-Yta4USY5_l-D97XYySALEgxMmFieA08DzK3xdB4,737
|
|
14
|
+
marsilea/plotter/_images.py,sha256=BC9iyWBLVY-nmUW1pSZq06pwHZN1MrW2psMIDreLReg,3062
|
|
15
|
+
marsilea/plotter/_seaborn.py,sha256=wC2sqVokSsk_uqYkjtg6HNrsifawLwqsQoDgJWIkSPs,7834
|
|
16
|
+
marsilea/plotter/_utils.py,sha256=Efhdk-TrrAanhbXRiEVWThMYvZ4vVHZMVYMs5X3JvIM,710
|
|
17
|
+
marsilea/plotter/arc.py,sha256=iBAvQeYLMNaXsykkpE6BJN1CTaBNntlfispFV2LvSUE,8102
|
|
18
|
+
marsilea/plotter/area.py,sha256=UOI8xdXMORXdgEG7fT9Lmx3Zk0_7XZl9nMw9A_CZkKA,2590
|
|
19
|
+
marsilea/plotter/bar.py,sha256=jbWukeTkUSge_TLC3ikJeg7GLHG4WuyN6EwIERvh0sc,11976
|
|
20
|
+
marsilea/plotter/base.py,sha256=Kzp0474WlXQse5jK4kLPtkVQLH9zpEwYNocV4c0CD-A,19621
|
|
21
|
+
marsilea/plotter/bio.py,sha256=_pZkGoAei7eirFCpu7AcZJhebBneNjUKcZlI36bpqUE,5044
|
|
22
|
+
marsilea/plotter/mesh.py,sha256=JctVkK5xjsUnRjX2ik3ntL-k-Didi7OAUfdmgkZu6IQ,23116
|
|
23
|
+
marsilea/plotter/text.py,sha256=oYJ5py3_nGHKi60DSVzFgPg4drnTSTw__IcYs0cut4M,36222
|
|
24
|
+
marsilea-0.3.4.dist-info/LICENSE,sha256=2TLD8FnLJqXzg8YBRs7W3VZBwfWfp4ArDfBl-rn96Qc,1074
|
|
25
|
+
marsilea-0.3.4.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
26
|
+
marsilea-0.3.4.dist-info/METADATA,sha256=yKF08xe5gV0zrcW_KgA8hpA84DH1HxJ5bMx-5l4Whbw,4055
|
|
27
|
+
marsilea-0.3.4.dist-info/RECORD,,
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: marsilea
|
|
3
|
-
Version: 0.3.2
|
|
4
|
-
Summary: Create x-layout visualization
|
|
5
|
-
Author: Zhihang Zheng
|
|
6
|
-
Author-email: Mr-Milk <yb97643@um.edu.mo>
|
|
7
|
-
Requires-Python: >=3.8
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Requires-Dist: numpy
|
|
11
|
-
Requires-Dist: pandas
|
|
12
|
-
Requires-Dist: matplotlib>=3.6
|
|
13
|
-
Requires-Dist: seaborn
|
|
14
|
-
Requires-Dist: scipy
|
|
15
|
-
Requires-Dist: legendkit
|
|
16
|
-
Requires-Dist: platformdirs
|
|
17
|
-
Requires-Dist: ruff ; extra == "dev"
|
|
18
|
-
Requires-Dist: icecream ; extra == "dev"
|
|
19
|
-
Requires-Dist: python-hmr ; extra == "dev"
|
|
20
|
-
Requires-Dist: pytest ; extra == "dev"
|
|
21
|
-
Requires-Dist: scikit-learn ; extra == "dev"
|
|
22
|
-
Requires-Dist: sphinx ; extra == "dev"
|
|
23
|
-
Requires-Dist: numpydoc ; extra == "dev"
|
|
24
|
-
Requires-Dist: sphinx_design ; extra == "dev"
|
|
25
|
-
Requires-Dist: pydata-sphinx-theme ; extra == "dev"
|
|
26
|
-
Requires-Dist: sphinx-copybutton ; extra == "dev"
|
|
27
|
-
Project-URL: Home, https://github.com/marsilea/marsilea
|
|
28
|
-
Provides-Extra: dev
|
|
29
|
-
|
|
30
|
-
<p align="center">
|
|
31
|
-
<img src="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-blue.jpg#gh-light-mode-only" width="500">
|
|
32
|
-
<img src="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-dark.jpg#gh-dark-mode-only" width="500">
|
|
33
|
-
</p>
|
|
34
|
-
|
|
35
|
-
[](https://marsilea.readthedocs.io/en/stable)
|
|
36
|
-

|
|
37
|
-
|
|
38
|
-
❗We are in beta, API may change and bugs expected
|
|
39
|
-
|
|
40
|
-
### Create x-layout visualization!
|
|
41
|
-
|
|
42
|
-
[Read Documentation](https://marsilea.readthedocs.io/)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
### Installation
|
|
46
|
-
|
|
47
|
-
```shell
|
|
48
|
-
pip install marsilea
|
|
49
|
-
```
|
|
50
|
-
|
marsilea-0.3.2.dist-info/RECORD
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
marsilea/__init__.py,sha256=HuFssQKZgyp993Vh7vJupVG9KUVdBylpaxVzQ5LTdnU,398
|
|
2
|
-
marsilea/_api.py,sha256=txHnWiKWrQTm2CXB2t3_3F6xFuwi7-95N5cJ5s6xD5o,282
|
|
3
|
-
marsilea/_deform.py,sha256=I8Oh5ug8o0KNJRIxsfL7mBrqjHrkkOoZftT6GQg8gJM,14231
|
|
4
|
-
marsilea/base.py,sha256=iEW2N4QbwHcDApniTNdcmu0tdTkUKfM-09-TuAnYIt8,28408
|
|
5
|
-
marsilea/dataset.py,sha256=8EgpuVfc-R10tjMleBHGn4Ndv7E-4IxKswlz2kDIfUI,3786
|
|
6
|
-
marsilea/dendrogram.py,sha256=bYYC71MNv8DUIbuFkPDC7G7b1ZXEjJ09eX4tgt_hZa4,14620
|
|
7
|
-
marsilea/exceptions.py,sha256=9PQGXvhcrs0p43YnTX0T8OPqrIQL9cGK_C1U0b_L9Y4,650
|
|
8
|
-
marsilea/heatmap.py,sha256=HU2eX0rvCer0l1DcDRKBABig9dc3oLyMK1vgJNKZCag,3565
|
|
9
|
-
marsilea/layers.py,sha256=axS_QFNjni8DzGjb1hDL7oyj_w90j0RBXU5CyZ_RR8w,12273
|
|
10
|
-
marsilea/layout.py,sha256=jP1X7J4DaLtsiNZc2TCsIH7QsGv1DdPYVUf3JJLR8iI,27715
|
|
11
|
-
marsilea/upset.py,sha256=UDyCRQ2Db8itwy57cbYsuKmuGPenr57sQx_yfDvJD7w,30106
|
|
12
|
-
marsilea/utils.py,sha256=mVWExS7Bm_SzqLBLlkbZBzmrB2tNrJLO_cQ7N31LPTE,2820
|
|
13
|
-
marsilea/plotter/__init__.py,sha256=Og-b5LDBhe7h0VZ-m9zbaGzzdwCnbx8zrzTy8cApOdY,320
|
|
14
|
-
marsilea/plotter/_images.py,sha256=xjEegaONfeMq0CBXGitHQfXdzVHt31hFV8S6leKcac8,2028
|
|
15
|
-
marsilea/plotter/_seaborn.py,sha256=bZf2eVoCGzWg3q8RguQJ6_Og_qv5FRVVs6Ek3Kaj7NE,7548
|
|
16
|
-
marsilea/plotter/_utils.py,sha256=ehYHVZOUA3R5v8gE2ysaIdyiM6to_0GGrMDhb-g_xlk,683
|
|
17
|
-
marsilea/plotter/arc.py,sha256=7epdsdxxawE0V2EIQEPxBE0LvnXCAqYx2dS-c0sIUV4,8059
|
|
18
|
-
marsilea/plotter/bar.py,sha256=XnLrF8EtTrmSC7YJBalTcVmh7X3CCw9Q-HcJc9hYblk,12321
|
|
19
|
-
marsilea/plotter/base.py,sha256=xhABfFpUbjAwVuj4FljDdYjFzm10eKyXDHVH6wMLnRY,19071
|
|
20
|
-
marsilea/plotter/bio.py,sha256=Q7EgghHwqtMmXrEEBKZk4TTOjW8kq6hylmUwMf07mt8,5115
|
|
21
|
-
marsilea/plotter/mesh.py,sha256=tw9yAn5b6kZWq4d_BGXUvDeU8LIluYgAsZnWqaRkUzA,22316
|
|
22
|
-
marsilea/plotter/text.py,sha256=-H247bkol0fjPAE3GsWgpT5q4XaVo2UcirCF7FtLjEI,35155
|
|
23
|
-
marsilea-0.3.2.dist-info/LICENSE,sha256=UwNW8x-13BDuItvInfX2c0O_9TUp6vC9bjt8lsHqm5w,1074
|
|
24
|
-
marsilea-0.3.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
25
|
-
marsilea-0.3.2.dist-info/METADATA,sha256=4gt3Dw7-sDR6T0U7bv6nqpsK8fYfOOcPFsRvun5x1Eo,1701
|
|
26
|
-
marsilea-0.3.2.dist-info/RECORD,,
|
|
File without changes
|