marsilea 0.5.3__py3-none-any.whl → 0.5.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 +1 -1
- marsilea/plotter/mesh.py +4 -4
- {marsilea-0.5.3.dist-info → marsilea-0.5.4.dist-info}/METADATA +1 -1
- {marsilea-0.5.3.dist-info → marsilea-0.5.4.dist-info}/RECORD +6 -6
- {marsilea-0.5.3.dist-info → marsilea-0.5.4.dist-info}/WHEEL +0 -0
- {marsilea-0.5.3.dist-info → marsilea-0.5.4.dist-info}/licenses/LICENSE +0 -0
marsilea/__init__.py
CHANGED
marsilea/plotter/mesh.py
CHANGED
|
@@ -483,8 +483,6 @@ class SizedMesh(MeshBase):
|
|
|
483
483
|
>>> h.add_right(mesh, size=0.2, pad=0.05)
|
|
484
484
|
>>> h.render()
|
|
485
485
|
|
|
486
|
-
|
|
487
|
-
|
|
488
486
|
"""
|
|
489
487
|
|
|
490
488
|
def __init__(
|
|
@@ -550,6 +548,9 @@ class SizedMesh(MeshBase):
|
|
|
550
548
|
render_colors.append(c)
|
|
551
549
|
self.cmap = ListedColormap(render_colors)
|
|
552
550
|
self.color2d = encode_numeric(color, encoder)
|
|
551
|
+
if self.norm is None:
|
|
552
|
+
vs = encoder.values()
|
|
553
|
+
self.norm = Normalize(vmin=min(vs), vmax=max(vs))
|
|
553
554
|
else:
|
|
554
555
|
self._process_cmap(color, vmin, vmax, cmap, norm, center)
|
|
555
556
|
self.color2d = color
|
|
@@ -636,9 +637,8 @@ class SizedMesh(MeshBase):
|
|
|
636
637
|
linewidths=self.linewidth,
|
|
637
638
|
marker=self.marker,
|
|
638
639
|
)
|
|
639
|
-
|
|
640
640
|
if self.color is not None:
|
|
641
|
-
options["c"] =
|
|
641
|
+
options["c"] = color
|
|
642
642
|
else:
|
|
643
643
|
options.update(dict(c=color, norm=self.norm, cmap=self.cmap))
|
|
644
644
|
self._collections = ax.scatter(xv, yv, **options, **self.kwargs)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
marsilea/__init__.py,sha256=
|
|
1
|
+
marsilea/__init__.py,sha256=Ml3xgdyN-IinhsaejVadUjIURHJzg8fhi2Y_uERAuI8,595
|
|
2
2
|
marsilea/_api.py,sha256=tymWZHfjhx8-0NNd9762znfdIu36NrARRweEIr5L1mA,283
|
|
3
3
|
marsilea/_deform.py,sha256=QRz4OGXMsQzbiIkC3ASzZayMPhHhoFsEK38oBzSeQG8,14440
|
|
4
4
|
marsilea/base.py,sha256=CmzuwFu0JzgkNpPdI1SqAnkUxINShjT73hrJpksKjhE,46872
|
|
@@ -19,13 +19,13 @@ marsilea/plotter/bar.py,sha256=RWDsNbyCUKbybpsBOgbl43lVZc_ynZmTOevE-CtJ5KE,12354
|
|
|
19
19
|
marsilea/plotter/base.py,sha256=b_NmrW_oNPc-HwQsjx1NsC2lknYK6qSaDp_7SxeoUEM,18938
|
|
20
20
|
marsilea/plotter/bio.py,sha256=34tucmxs4LM3TFZoGsrjnXTolyrzYaHVEiRe4dzDH68,5040
|
|
21
21
|
marsilea/plotter/images.py,sha256=gb0xIQhUch3rNAt3FfvuUoamSGEynoBBBky2eE754ec,9560
|
|
22
|
-
marsilea/plotter/mesh.py,sha256=
|
|
22
|
+
marsilea/plotter/mesh.py,sha256=D6snenMjQ-rM9g3O4PGelSiaBNKmY2OPZU5onILlmO0,24530
|
|
23
23
|
marsilea/plotter/range.py,sha256=sXWKrvpq7nU7giiHPjayM7h9Q7gblhjXxHm8ioB3cm4,3770
|
|
24
24
|
marsilea/plotter/text.py,sha256=6S4mnAxLJLMkduKiyor03lPd86oTOJ5TojVREA9oU6s,37466
|
|
25
25
|
oncoprinter/__init__.py,sha256=efshcAD1h9s-NVJj4HLU9-hXc_LtTeIrNYqLHl-sm_g,106
|
|
26
26
|
oncoprinter/core.py,sha256=5KPnKW5ivlxPp14uJd0OtfTv-pXV2UEym8EbII2VCcw,11846
|
|
27
27
|
oncoprinter/preset.py,sha256=mBk2tFCqoTj_1ZZKRYuv4j2I3NTBa6Swc9wjzbmxRVw,8238
|
|
28
|
-
marsilea-0.5.
|
|
29
|
-
marsilea-0.5.
|
|
30
|
-
marsilea-0.5.
|
|
31
|
-
marsilea-0.5.
|
|
28
|
+
marsilea-0.5.4.dist-info/METADATA,sha256=9SS9_JT6N9FRdBenz-95mnzFY5LVal4lhMocoyvcUsA,7265
|
|
29
|
+
marsilea-0.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
30
|
+
marsilea-0.5.4.dist-info/licenses/LICENSE,sha256=RhHHDuP61qzKmfHtOQUVLZfCgMkKx9PXzxzkLtmAjHo,1078
|
|
31
|
+
marsilea-0.5.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|