marsilea 0.4.3__py3-none-any.whl → 0.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  """Declarative creation of composable visualization"""
2
2
 
3
- __version__ = "0.4.3"
3
+ __version__ = "0.4.4"
4
4
 
5
5
  import marsilea.plotter as plotter
6
6
  from ._deform import Deformation
@@ -23,6 +23,8 @@ __all__ = [
23
23
  "Chunk",
24
24
  "FixedChunk",
25
25
  "Area",
26
+ "Image",
27
+ "Emoji",
26
28
  ]
27
29
 
28
30
  from ._seaborn import Bar, Box, Boxen, Violin, Point, Strip, Swarm
@@ -33,5 +35,5 @@ from .bio import SeqLogo
33
35
  from .mesh import Colors, ColorMesh, SizedMesh, MarkerMesh, TextMesh
34
36
  from .text import Labels, AnnoLabels, Title, Chunk, FixedChunk
35
37
 
36
- from ._images import Emoji, Image
38
+ from .images import Emoji, Image
37
39
  from .area import Area
@@ -96,7 +96,7 @@ class _SeabornBase(StatsBase):
96
96
  df["hue"] = hue
97
97
  dfs.append(df)
98
98
 
99
- pdata = pd.concat(dfs)
99
+ pdata = pd.concat(dfs).reset_index(drop=True)
100
100
  self.kws["hue"] = "hue"
101
101
  self.kws["hue_order"] = self.hue
102
102
  if self.get_orient() == "h":
@@ -123,7 +123,8 @@ class _SeabornBase(StatsBase):
123
123
  ax.invert_xaxis()
124
124
  # barplot(data=data, orient=orient, ax=ax, **self.kws)
125
125
  plotter = getattr(seaborn, self._seaborn_plot)
126
-
126
+ print(pdata)
127
+ print(options)
127
128
  plotter(data=pdata, orient=orient, ax=ax, **options)
128
129
  ax.set(xlabel=None, ylabel=None)
129
130
  leg = ax.get_legend()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: marsilea
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Dynamic: Summary
5
5
  Project-URL: Home, https://github.com/Marsilea-viz/marsilea
6
6
  Author: Zhihang Zheng
@@ -1,4 +1,4 @@
1
- marsilea/__init__.py,sha256=JcEA1veLIQxh9VhgwDL3yqf0Xo093E0yw3JvhDa5eqc,541
1
+ marsilea/__init__.py,sha256=N_-2Ce1mWmyFqjfe6217db2yfJ5eZfGWxJjEP8krBX0,541
2
2
  marsilea/_api.py,sha256=tymWZHfjhx8-0NNd9762znfdIu36NrARRweEIr5L1mA,283
3
3
  marsilea/_deform.py,sha256=QRz4OGXMsQzbiIkC3ASzZayMPhHhoFsEK38oBzSeQG8,14440
4
4
  marsilea/base.py,sha256=aj15043lJURGR83T3q8Y8UUpeVHHLsi8T9VLol6KB1I,47552
@@ -10,21 +10,21 @@ marsilea/layers.py,sha256=puXLlGGpEqAzaTqadpgpsYmIDPH33WyyHIuysRSqFZQ,12163
10
10
  marsilea/layout.py,sha256=X8MGPlAbbr7dcZiqW4pI7sEb8U3jVaiS7t1DKOqMYLI,27758
11
11
  marsilea/upset.py,sha256=U1Rsmo1WpCAV9z3LBlE2L4T0nAW9ols8Z36fXzmXycw,30388
12
12
  marsilea/utils.py,sha256=y_KYs4ToiuKEsiBdmcIVtmxMXFpD4wKiJ0k7iBa11z8,2854
13
- marsilea/plotter/__init__.py,sha256=6O05ShbbXdRmvbpLiEOBEZ_oZJkAMVh3Rh9jBU8QF-A,743
14
- marsilea/plotter/_images.py,sha256=gb0xIQhUch3rNAt3FfvuUoamSGEynoBBBky2eE754ec,9560
15
- marsilea/plotter/_seaborn.py,sha256=-0mtE-C_3zNjYWykJT5EMkJhU8FYCo12bBuJfbWvl3k,8264
13
+ marsilea/plotter/__init__.py,sha256=vtusGk_3B5QKw0k3EMV219FT1U8ZeJse6nMOB_wmQHA,768
14
+ marsilea/plotter/_seaborn.py,sha256=svo1YNenW_EBOKpR-w5suYhCJoL99VrEGzL7Q8-7sX0,8330
16
15
  marsilea/plotter/_utils.py,sha256=Efhdk-TrrAanhbXRiEVWThMYvZ4vVHZMVYMs5X3JvIM,710
17
16
  marsilea/plotter/arc.py,sha256=44BKVGvDc_OpghfgEvaiVCovZe7_OwZiM20iepaRMFw,8139
18
17
  marsilea/plotter/area.py,sha256=zjjAhvgKHYe9rqzcseqZqhwfpgvzm0w2FRJ_vr9Fxm4,2650
19
18
  marsilea/plotter/bar.py,sha256=tXM5iR4cTkTrt55ff-aWoh7lxupKtA5vJ9Yn9hr7RkA,12067
20
19
  marsilea/plotter/base.py,sha256=TbnZDjm161RF5OlK4TCfhCFR9lM96MJUrvAk_xTk_kQ,20657
21
20
  marsilea/plotter/bio.py,sha256=34tucmxs4LM3TFZoGsrjnXTolyrzYaHVEiRe4dzDH68,5040
21
+ marsilea/plotter/images.py,sha256=gb0xIQhUch3rNAt3FfvuUoamSGEynoBBBky2eE754ec,9560
22
22
  marsilea/plotter/mesh.py,sha256=eUMXX9PNHJXf9O4wpcRgO6uEFKlpft1LwshHgMuojp8,24176
23
23
  marsilea/plotter/text.py,sha256=6S4mnAxLJLMkduKiyor03lPd86oTOJ5TojVREA9oU6s,37466
24
24
  oncoprinter/__init__.py,sha256=efshcAD1h9s-NVJj4HLU9-hXc_LtTeIrNYqLHl-sm_g,106
25
25
  oncoprinter/core.py,sha256=5KPnKW5ivlxPp14uJd0OtfTv-pXV2UEym8EbII2VCcw,11846
26
26
  oncoprinter/preset.py,sha256=mBk2tFCqoTj_1ZZKRYuv4j2I3NTBa6Swc9wjzbmxRVw,8238
27
- marsilea-0.4.3.dist-info/METADATA,sha256=edIeq4SMz38_uWLlkpiesySBghHd-1wEg72AYO7llFk,6576
28
- marsilea-0.4.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
29
- marsilea-0.4.3.dist-info/licenses/LICENSE,sha256=2TLD8FnLJqXzg8YBRs7W3VZBwfWfp4ArDfBl-rn96Qc,1074
30
- marsilea-0.4.3.dist-info/RECORD,,
27
+ marsilea-0.4.4.dist-info/METADATA,sha256=jA6MqUk97yh7Gapgbgij-DGr_W7260WAY8l_IZJrE6c,6576
28
+ marsilea-0.4.4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
29
+ marsilea-0.4.4.dist-info/licenses/LICENSE,sha256=2TLD8FnLJqXzg8YBRs7W3VZBwfWfp4ArDfBl-rn96Qc,1074
30
+ marsilea-0.4.4.dist-info/RECORD,,
File without changes