maidr 0.18.0__py3-none-any.whl → 0.19.1__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.
- maidr/__init__.py +1 -1
- maidr/core/enum/maidr_key.py +4 -4
- maidr/core/plot/lineplot.py +5 -1
- maidr/core/plot/scatterplot.py +7 -4
- {maidr-0.18.0.dist-info → maidr-0.19.1.dist-info}/METADATA +1 -1
- {maidr-0.18.0.dist-info → maidr-0.19.1.dist-info}/RECORD +8 -8
- {maidr-0.18.0.dist-info → maidr-0.19.1.dist-info}/LICENSE +0 -0
- {maidr-0.18.0.dist-info → maidr-0.19.1.dist-info}/WHEEL +0 -0
maidr/__init__.py
CHANGED
maidr/core/enum/maidr_key.py
CHANGED
maidr/core/plot/lineplot.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from typing import List, Union
|
|
2
|
+
|
|
1
3
|
from matplotlib.axes import Axes
|
|
2
4
|
from matplotlib.lines import Line2D
|
|
3
5
|
|
|
@@ -59,7 +61,9 @@ class MultiLinePlot(MaidrPlot, LineExtractorMixin):
|
|
|
59
61
|
|
|
60
62
|
return data
|
|
61
63
|
|
|
62
|
-
def _extract_line_data(
|
|
64
|
+
def _extract_line_data(
|
|
65
|
+
self, plot: Union[List[Line2D], None]
|
|
66
|
+
) -> Union[List[dict], None]:
|
|
63
67
|
"""
|
|
64
68
|
Extract data from multiple line objects.
|
|
65
69
|
|
maidr/core/plot/scatterplot.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import numpy.ma as ma
|
|
4
|
-
|
|
5
4
|
from matplotlib.axes import Axes
|
|
6
5
|
from matplotlib.collections import PathCollection
|
|
7
6
|
|
|
@@ -36,8 +35,12 @@ class ScatterPlot(MaidrPlot, CollectionExtractorMixin):
|
|
|
36
35
|
|
|
37
36
|
return [
|
|
38
37
|
{
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
"points": [
|
|
39
|
+
{
|
|
40
|
+
MaidrKey.X: float(x),
|
|
41
|
+
MaidrKey.Y: float(y),
|
|
42
|
+
}
|
|
43
|
+
for x, y in ma.getdata(plot.get_offsets())
|
|
44
|
+
]
|
|
41
45
|
}
|
|
42
|
-
for x, y in ma.getdata(plot.get_offsets())
|
|
43
46
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: maidr
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.1
|
|
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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
maidr/__init__.py,sha256=
|
|
1
|
+
maidr/__init__.py,sha256=Ju8Ud_GJ5NwfggsxN3mZ443eUWgRU6RY_QJAw_ZqME0,369
|
|
2
2
|
maidr/api.py,sha256=m4fkbW2gV9yhHq0uMi5_DW35VWh5v0wFGqT00ceR5Wc,1878
|
|
3
3
|
maidr/core/__init__.py,sha256=WgxLpSEYMc4k3OyEOf1shOxfEq0ASzppEIZYmE91ThQ,25
|
|
4
4
|
maidr/core/context_manager.py,sha256=HSzD4wpiALdI4Vm0QTdWqi1MWR5Uqy8BX_lOlCM3JYY,3463
|
|
5
5
|
maidr/core/enum/__init__.py,sha256=9ee78L0dlxEx4ulUGVlD-J23UcUZmrGu0rXms54up3c,93
|
|
6
6
|
maidr/core/enum/library.py,sha256=e8ujT_L-McJWfoVJd1ty9K_2bwITnf1j0GPLsnAcHes,104
|
|
7
|
-
maidr/core/enum/maidr_key.py,sha256=
|
|
7
|
+
maidr/core/enum/maidr_key.py,sha256=rDNpl7edBAHs869ECw5gMz_AKxetK-BXJ25BIJ-xTNU,736
|
|
8
8
|
maidr/core/enum/plot_type.py,sha256=pyfyIwlq3taqe2Z1sVUSbMsTp5QTvYBlZXsMMMclEVM,293
|
|
9
9
|
maidr/core/figure_manager.py,sha256=rd8XEwqNmfKu1I9zGD1p9g3wVlkMYNCrdLLCg4IzlfQ,3934
|
|
10
10
|
maidr/core/maidr.py,sha256=iEi59R4oLuSIOocEhWzdQCRE3FvvPmzE2LiR5mmZjWk,13811
|
|
@@ -14,10 +14,10 @@ maidr/core/plot/boxplot.py,sha256=roADG8xJYRQlZPYbfGBQSQRw8974lhVnngGKEKXJttk,60
|
|
|
14
14
|
maidr/core/plot/grouped_barplot.py,sha256=tAiOWwtfsWDwyGdUuCdQ6-f8UQxnsDDwpN30Skk8p-U,2071
|
|
15
15
|
maidr/core/plot/heatmap.py,sha256=_Hn_wXsu-BQBYs4YO440-WRhmXAJ1WeBndBGVEUAP5M,2447
|
|
16
16
|
maidr/core/plot/histogram.py,sha256=QV5W-6ZJQQcZsrM91JJBX-ONktJzH7yg_et5_bBPfQQ,1525
|
|
17
|
-
maidr/core/plot/lineplot.py,sha256=
|
|
17
|
+
maidr/core/plot/lineplot.py,sha256=xu4yylEx71FWkxyZF4yl9noYPdHbOhLpMPAt7in8gsc,3338
|
|
18
18
|
maidr/core/plot/maidr_plot.py,sha256=9z8I_W4o_NWvz-S5QFp1kB0L23AHvt0PDxRhxgeJcmY,3299
|
|
19
19
|
maidr/core/plot/maidr_plot_factory.py,sha256=QGcHK_oquY_M2_KJVEtc5-rBAD-gm7KI1kSD7cduHzg,1691
|
|
20
|
-
maidr/core/plot/scatterplot.py,sha256=
|
|
20
|
+
maidr/core/plot/scatterplot.py,sha256=fre5FNhGVoQkm8V2CP9nxhjHN5ZyzptCrVmse_KCU1Q,1353
|
|
21
21
|
maidr/exception/__init__.py,sha256=PzaXoYBhyZxMDcJkuxJugDx7jZeseI0El6LpxIwXyG4,46
|
|
22
22
|
maidr/exception/extraction_error.py,sha256=rd37Oxa9gn2OWFWt9AOH5fv0hNd3sAWGvpDMFBuJY2I,607
|
|
23
23
|
maidr/patch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -37,7 +37,7 @@ maidr/util/mixin/extractor_mixin.py,sha256=AjpgCo_dgASdTwFumfgDOoVCVioxDDoqFWpha
|
|
|
37
37
|
maidr/util/mixin/merger_mixin.py,sha256=V0qLw_6DUB7X6CQ3BCMpsCQX_ZuwAhoSTm_E4xAJFKM,712
|
|
38
38
|
maidr/widget/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
maidr/widget/shiny.py,sha256=wrrw2KAIpE_A6CNQGBtNHauR1DjenA_n47qlFXX9_rk,745
|
|
40
|
-
maidr-0.
|
|
41
|
-
maidr-0.
|
|
42
|
-
maidr-0.
|
|
43
|
-
maidr-0.
|
|
40
|
+
maidr-0.19.1.dist-info/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
|
41
|
+
maidr-0.19.1.dist-info/METADATA,sha256=WpT0kGCTSxFr7YOQeUwmoFPg2XcQPQxVCYs9zxONBPM,2688
|
|
42
|
+
maidr-0.19.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
43
|
+
maidr-0.19.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|