Skip to content

Commit 355262a

Browse files
committed
feat: support histogram plot using maidr-ts
1 parent b7223c8 commit 355262a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

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/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"

0 commit comments

Comments
 (0)