marsilea 0.5.6__tar.gz → 0.5.7__tar.gz

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.
Files changed (35) hide show
  1. {marsilea-0.5.6 → marsilea-0.5.7}/PKG-INFO +1 -1
  2. marsilea-0.5.7/src/marsilea/_version.py +1 -0
  3. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/bar.py +6 -0
  4. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/mesh.py +2 -2
  5. marsilea-0.5.6/src/marsilea/_version.py +0 -1
  6. {marsilea-0.5.6 → marsilea-0.5.7}/.gitignore +0 -0
  7. {marsilea-0.5.6 → marsilea-0.5.7}/LICENSE +0 -0
  8. {marsilea-0.5.6 → marsilea-0.5.7}/README.md +0 -0
  9. {marsilea-0.5.6 → marsilea-0.5.7}/pyproject.toml +0 -0
  10. {marsilea-0.5.6 → marsilea-0.5.7}/setup.py +0 -0
  11. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/__init__.py +0 -0
  12. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/_api.py +0 -0
  13. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/_deform.py +0 -0
  14. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/base.py +0 -0
  15. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/dataset.py +0 -0
  16. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/dendrogram.py +0 -0
  17. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/exceptions.py +0 -0
  18. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/heatmap.py +0 -0
  19. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/layers.py +0 -0
  20. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/layout.py +0 -0
  21. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/__init__.py +0 -0
  22. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/_seaborn.py +0 -0
  23. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/_utils.py +0 -0
  24. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/arc.py +0 -0
  25. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/area.py +0 -0
  26. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/base.py +0 -0
  27. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/bio.py +0 -0
  28. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/images.py +0 -0
  29. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/range.py +0 -0
  30. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/plotter/text.py +0 -0
  31. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/upset.py +0 -0
  32. {marsilea-0.5.6 → marsilea-0.5.7}/src/marsilea/utils.py +0 -0
  33. {marsilea-0.5.6 → marsilea-0.5.7}/src/oncoprinter/__init__.py +0 -0
  34. {marsilea-0.5.6 → marsilea-0.5.7}/src/oncoprinter/core.py +0 -0
  35. {marsilea-0.5.6 → marsilea-0.5.7}/src/oncoprinter/preset.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: marsilea
3
- Version: 0.5.6
3
+ Version: 0.5.7
4
4
  Summary: Declarative creation of composable visualizations
5
5
  Project-URL: Home, https://github.com/Marsilea-viz/marsilea
6
6
  Project-URL: Documentation, https://marsilea.readthedocs.io
@@ -0,0 +1 @@
1
+ version = "0.5.7"
@@ -209,6 +209,8 @@ class CenterBar(_BarBase):
209
209
  show_value=True,
210
210
  fmt=None,
211
211
  label=None,
212
+ label_loc=None,
213
+ label_props=None,
212
214
  value_pad=2.0,
213
215
  props=None,
214
216
  **kwargs,
@@ -225,6 +227,7 @@ class CenterBar(_BarBase):
225
227
  self._process_params(
226
228
  width, orient, show_value, fmt, label, value_pad, props, **kwargs
227
229
  )
230
+ self.set_label(label, label_loc, label_props)
228
231
 
229
232
  def render_ax(self, spec):
230
233
  ax = spec.ax
@@ -346,6 +349,8 @@ class StackBar(_BarBase):
346
349
  fmt=None,
347
350
  props=None,
348
351
  label=None,
352
+ label_loc=None,
353
+ label_props=None,
349
354
  value_pad=0,
350
355
  legend_kws=None,
351
356
  **kwargs,
@@ -388,6 +393,7 @@ class StackBar(_BarBase):
388
393
  self._process_params(
389
394
  width, orient, show_value, fmt, label, value_pad, value_props, **kwargs
390
395
  )
396
+ self.set_label(label, label_loc, label_props)
391
397
 
392
398
  self.value_size = value_size
393
399
  self._legend_kws = dict(title=self.label, size=1)
@@ -603,7 +603,7 @@ class SizedMesh(MeshBase):
603
603
  self.kwargs = kwargs
604
604
 
605
605
  self._collections = None
606
- self._transparent_marker = "none" in self.color2d
606
+ self._transparent_marker = "none" in self.color2d # If the marker is filled
607
607
  render_data = [self.size_matrix, self.color2d]
608
608
  if self.edgecolor is not None:
609
609
  render_data.append(self.edgecolor)
@@ -659,7 +659,7 @@ class SizedMesh(MeshBase):
659
659
  "If edgecolor legend text is provided, the number of unique edgecolors "
660
660
  "must match the number of texts"
661
661
  )
662
- if self._has_colormesh & (self._transparent_marker):
662
+ if self._has_colormesh & (not self._transparent_marker):
663
663
  if self.palette is not None:
664
664
  labels, colors = [], []
665
665
  for label, c in self.palette.items():
@@ -1 +0,0 @@
1
- version = "0.5.6"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes