maidr 0.21.0__tar.gz → 0.22.0__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.
- {maidr-0.21.0 → maidr-0.22.0}/PKG-INFO +1 -1
- {maidr-0.21.0 → maidr-0.22.0}/maidr/__init__.py +1 -1
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/grouped_barplot.py +4 -1
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/lineplot.py +1 -1
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/scatterplot.py +1 -1
- {maidr-0.21.0 → maidr-0.22.0}/pyproject.toml +1 -1
- {maidr-0.21.0 → maidr-0.22.0}/LICENSE +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/README.md +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/api.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/context_manager.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/enum/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/enum/library.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/enum/maidr_key.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/enum/plot_type.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/figure_manager.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/maidr.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/barplot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/boxplot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/heatmap.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/histogram.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/maidr_plot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/core/plot/maidr_plot_factory.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/exception/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/exception/extraction_error.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/barplot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/boxplot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/clear.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/common.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/heatmap.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/highlight.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/histogram.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/lineplot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/patch/scatterplot.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/util/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/util/environment.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/util/mixin/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/util/mixin/extractor_mixin.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/util/mixin/merger_mixin.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/widget/__init__.py +0 -0
- {maidr-0.21.0 → maidr-0.22.0}/maidr/widget/shiny.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: maidr
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.0
|
|
4
4
|
Summary: Multimodal Access and Interactive Data Representations
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
Keywords: accessibility,visualization,sonification,braille,tactile,multimodal,data representation,blind,low vision,visual impairments
|
|
@@ -18,7 +18,6 @@ class GroupedBarPlot(
|
|
|
18
18
|
):
|
|
19
19
|
def __init__(self, ax: Axes, plot_type: PlotType, **kwargs) -> None:
|
|
20
20
|
super().__init__(ax, plot_type)
|
|
21
|
-
self._support_highlighting = False
|
|
22
21
|
|
|
23
22
|
def _extract_axes_data(self) -> dict:
|
|
24
23
|
base_ax_schema = super()._extract_axes_data()
|
|
@@ -47,6 +46,10 @@ class GroupedBarPlot(
|
|
|
47
46
|
x_level = self.extract_level(self.ax)
|
|
48
47
|
data = []
|
|
49
48
|
|
|
49
|
+
self._elements.extend(
|
|
50
|
+
[patch for container in plot for patch in container.patches]
|
|
51
|
+
)
|
|
52
|
+
|
|
50
53
|
for container in plot:
|
|
51
54
|
if len(x_level) != len(container.patches):
|
|
52
55
|
return None
|
|
@@ -42,7 +42,7 @@ class MultiLinePlot(MaidrPlot, LineExtractorMixin):
|
|
|
42
42
|
def __init__(self, ax: Axes, **kwargs):
|
|
43
43
|
super().__init__(ax, PlotType.LINE)
|
|
44
44
|
|
|
45
|
-
def _get_selector(self) -> str
|
|
45
|
+
def _get_selector(self) -> Union[str, List[str]]:
|
|
46
46
|
if Environment.get_engine() == "js":
|
|
47
47
|
return "g[maidr='true'] > path"
|
|
48
48
|
return ["g[maidr='true'] > path"]
|
|
@@ -18,7 +18,7 @@ class ScatterPlot(MaidrPlot, CollectionExtractorMixin):
|
|
|
18
18
|
def _get_selector(self) -> str | list[str]:
|
|
19
19
|
if Environment.get_engine() == "js":
|
|
20
20
|
return "g[maidr='true'] > use"
|
|
21
|
-
return ["g[maidr='true'] > use"]
|
|
21
|
+
return ["g[maidr='true'] > g > use"]
|
|
22
22
|
|
|
23
23
|
def _extract_plot_data(self) -> list[dict]:
|
|
24
24
|
plot = self.extract_collection(self.ax, PathCollection)
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|