Skip to content

Commit dc6d9af

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/support-boxplot
2 parents 11cadf6 + 9e57a7c commit dc6d9af

File tree

7 files changed

+35
-7
lines changed

7 files changed

+35
-7
lines changed

Diff for: CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# CHANGELOG
22

33

4+
## v0.19.1 (2025-03-27)
5+
6+
### Bug Fixes
7+
8+
- Address type hints for _extract_line_data method in MultiLinePlot
9+
([#152](https://github.com/xability/py-maidr/pull/152),
10+
[`c91425c`](https://github.com/xability/py-maidr/commit/c91425c4dd6e3c701a3b2692ec4bdc39d3d6ddaf))
11+
12+
13+
## v0.19.0 (2025-03-27)
14+
15+
### Features
16+
17+
- Support histogram plot using maidr-ts ([#150](https://github.com/xability/py-maidr/pull/150),
18+
[`bcc7269`](https://github.com/xability/py-maidr/commit/bcc726932d8fda6c55a46f94303637c619749a81))
19+
20+
- Support scatter plot using maidr-ts ([#149](https://github.com/xability/py-maidr/pull/149),
21+
[`b7223c8`](https://github.com/xability/py-maidr/commit/b7223c8d6f57276300bf3cb2e864a6e200108da9))
22+
23+
424
## v0.18.0 (2025-03-18)
525

626
### Features

Diff for: example/histogram/matplotlib/example_mpl_hist.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import maidr
55

6+
maidr.set_engine("ts")
7+
68
# Load the dataset
79
iris = sns.load_dataset("iris")
810

Diff for: example/histogram/seaborn/example_sns_hist.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import maidr
55

6+
maidr.set_engine("ts")
7+
68
# Load the Iris dataset
79
iris = sns.load_dataset("iris")
810

Diff for: maidr/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.18.0"
1+
__version__ = "0.19.1"
22

33
from .api import close, render, save_html, set_engine, show, stacked
44
from .core import Maidr

Diff for: maidr/core/enum/maidr_key.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class MaidrKey(str, Enum):
3535
LABELS = "labels"
3636

3737
# Histogram plot keys.
38-
X_MIN = "xmin"
39-
X_MAX = "xmax"
40-
Y_MIN = "ymin"
41-
Y_MAX = "ymax"
38+
X_MIN = "xMin"
39+
X_MAX = "xMax"
40+
Y_MIN = "yMin"
41+
Y_MAX = "yMax"

Diff for: maidr/core/plot/lineplot.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import List, Union
2+
13
from matplotlib.axes import Axes
24
from matplotlib.lines import Line2D
35

@@ -59,7 +61,9 @@ def _extract_plot_data(self) -> list[dict]:
5961

6062
return data
6163

62-
def _extract_line_data(self, plot: list[Line2D] | None) -> list[dict] | None:
64+
def _extract_line_data(
65+
self, plot: Union[List[Line2D], None]
66+
) -> Union[List[dict], None]:
6367
"""
6468
Extract data from multiple line objects.
6569

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "maidr"
7-
version = "0.18.0"
7+
version = "0.19.1"
88
description = "Multimodal Access and Interactive Data Representations"
99
authors = [
1010
"JooYoung Seo <[email protected]>",

0 commit comments

Comments
 (0)