maidr 1.4.8__tar.gz → 1.4.9__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-1.4.8 → maidr-1.4.9}/.github/workflows/release.yml +0 -12
- {maidr-1.4.8 → maidr-1.4.9}/CHANGELOG.md +16 -0
- {maidr-1.4.8 → maidr-1.4.9}/PKG-INFO +1 -1
- {maidr-1.4.8 → maidr-1.4.9}/maidr/__init__.py +1 -1
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/candlestick.py +6 -15
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/maidr_plot.py +8 -1
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/mplfinance_barplot.py +7 -16
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/mplfinance_lineplot.py +6 -14
- {maidr-1.4.8 → maidr-1.4.9}/pyproject.toml +1 -1
- {maidr-1.4.8 → maidr-1.4.9}/uv.lock +1 -1
- {maidr-1.4.8 → maidr-1.4.9}/.commitlintrc.cjs +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.editorconfig +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.github/copilot-instructions.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.github/workflows/ci.yml +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.github/workflows/docs.yml +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.gitignore +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.pre-commit-config.yaml +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.vscode/extensions.json +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/.vscode/settings.json +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/CONDUCT.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/CONTRIBUTING.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/LICENSE +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/README.md +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/.gitignore +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/CNAME +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_environment +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/machow/interlinks/.gitignore +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/machow/interlinks/_extension.yml +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/machow/interlinks/interlinks.lua +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/shafayetShafee/line-highlight/_extension.yml +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/shafayetShafee/line-highlight/line-highlight.lua +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/shafayetShafee/line-highlight/resources/css/line-highlight.css +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/shafayetShafee/line-highlight/resources/js/line-highlight.js +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/_quarto.yml +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/examples.qmd +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/index.qmd +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/docs/styles.css +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/bar/example_bar_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/bar/matplotlib/example_mpl_bar_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/bar/seaborn/example_sns_bar_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/box/example_box_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/box/matplotlib/example_mpl_box.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/box/seaborn/example_sns_box.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/candle_stick/legacy_candlestick_example.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/candle_stick/mplfinance_candlestick_example.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/candle_stick/volcandat.csv +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/count/example_count_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/count/seaborn/example_sns_count_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/dodged/matplotlib/example_mpl_dodged.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/dodged/seaborn/example_sns_dodged.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/facet-subplots/matplotlib/example_mpl_facet_bar_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/facet-subplots/matplotlib/example_mpl_facet_combined_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/facet-subplots/seaborn/example_sns_facet_bar_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/facet-subplots/seaborn/example_sns_facet_combined_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/heatmap/example_heatmap_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/heatmap/matplotlib/example_mpl_heatmap.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/heatmap/seaborn/example_sns_heatmap.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/histogram/example_histogram_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/histogram/matplotlib/example_mpl_hist.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/histogram/matplotlib/histogram_with_kde_matplotlib.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/histogram/seaborn/example_sns_hist.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/histogram/seaborn/histogram_with_kde_seaborn.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/kde/example_kde_plots.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/kde/matplotlib/multiple_kde_matplotlib.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/kde/matplotlib/single_kde_matplotlib.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/kde/seaborn/multiple_kde_seaborn.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/kde/seaborn/single_kde_seaborn.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/line/example_line_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/line/matplotlib/example_mpl_line.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/line/seaborn/example_sns_line.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multilayer/example_mpl_multilayer.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multilayer/example_multilayer_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multiline/example_multiline_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multiline/matplotlib/example_mpl_multiline.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multiline/seaborn/example_sns_multiline.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multipanel/example_multipanel_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multipanel/matplotlib/example_mpl_multipanel.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/multipanel/seaborn/example_sns_multipanel.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/quarto/demo.qmd +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/reg/example_reg_plots.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/reg/matplotlib/example_matplotlib_smooth_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/reg/seaborn/example_sns_reg.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/scatter/example_scatter_plot.ipynb +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/scatter/matplotlib/example_mpl_scatter.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/scatter/seaborn/example_sns_scatter.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/shiny/example_shiny_scatter.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/stacked/matplotlib/example_mpl_stacked.html +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/stacked/matplotlib/example_mpl_stacked.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/stacked/seaborn/example_sns_stacked.html +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/stacked/seaborn/example_sns_stacked.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/example/streamlit/example_streamlit_app.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/api.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/context_manager.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/enum/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/enum/library.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/enum/maidr_key.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/enum/plot_type.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/enum/smooth_keywords.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/figure_manager.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/maidr.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/barplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/boxplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/grouped_barplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/heatmap.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/histogram.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/lineplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/maidr_plot_factory.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/regplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/core/plot/scatterplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/exception/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/exception/extraction_error.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/barplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/boxplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/candlestick.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/clear.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/common.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/heatmap.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/highlight.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/histogram.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/kdeplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/lineplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/mplfinance.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/regplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/patch/scatterplot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/dedup_utils.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/environment.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/mixin/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/mixin/extractor_mixin.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/mixin/merger_mixin.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/mplfinance_utils.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/plot_detection.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/regression_line_utils.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/util/svg_utils.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/widget/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/maidr/widget/shiny.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/conftest.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/core/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/core/enum/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/core/plot/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/core/test_figure_manager.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/core/test_maidr_plot.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/core/test_maidr_plot_factory.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/fixture/__init__.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/fixture/library_factory.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/fixture/matplotlib_factory.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tests/fixture/seaborn_factory.py +0 -0
- {maidr-1.4.8 → maidr-1.4.9}/tox.ini +0 -0
|
@@ -102,7 +102,6 @@ jobs:
|
|
|
102
102
|
uses: python-semantic-release/python-semantic-release@v9.21.0
|
|
103
103
|
with:
|
|
104
104
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
105
|
-
verbosity: 3
|
|
106
105
|
changelog: true
|
|
107
106
|
commit: true
|
|
108
107
|
push: true
|
|
@@ -116,14 +115,3 @@ jobs:
|
|
|
116
115
|
# Use a clean environment for building
|
|
117
116
|
uv build --no-cache
|
|
118
117
|
uv publish
|
|
119
|
-
|
|
120
|
-
- name: Publish package distributions to GitHub Releases
|
|
121
|
-
id: github-release
|
|
122
|
-
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
|
|
123
|
-
# See https://github.com/actions/runner/issues/1173
|
|
124
|
-
if: steps.release.outputs.released == 'true'
|
|
125
|
-
uses: python-semantic-release/upload-to-gh-release@main
|
|
126
|
-
with:
|
|
127
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
128
|
-
tag: ${{ steps.release.outputs.tag }}
|
|
129
|
-
root_options: "-vv"
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.4.9 (2025-07-25)
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
- Add layer id for layers ([#220](https://github.com/xability/py-maidr/pull/220),
|
|
9
|
+
[`3a50a5c`](https://github.com/xability/py-maidr/commit/3a50a5c97dfbfa7c4c17d6856080c9ad8e3ad65c))
|
|
10
|
+
|
|
11
|
+
### Continuous Integration
|
|
12
|
+
|
|
13
|
+
- Remove redundant github releases ([#218](https://github.com/xability/py-maidr/pull/218),
|
|
14
|
+
[`6a3874a`](https://github.com/xability/py-maidr/commit/6a3874acf92f4c8bad95ee2b8f10065df55ef25a))
|
|
15
|
+
|
|
16
|
+
- Sync uv.lock ([#219](https://github.com/xability/py-maidr/pull/219),
|
|
17
|
+
[`bbfbc31`](https://github.com/xability/py-maidr/commit/bbfbc314553f944ef102e1e0d2fa5741f05701c2))
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
## v1.4.8 (2025-07-15)
|
|
5
21
|
|
|
6
22
|
### Bug Fixes
|
|
@@ -131,20 +131,11 @@ class CandlestickPlot(MaidrPlot):
|
|
|
131
131
|
|
|
132
132
|
def render(self) -> dict:
|
|
133
133
|
"""Initialize the MAIDR schema dictionary with basic plot information."""
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
maidr_schema = {
|
|
140
|
-
MaidrKey.TYPE: self.type,
|
|
141
|
-
MaidrKey.TITLE: title,
|
|
142
|
-
MaidrKey.AXES: self._extract_axes_data(),
|
|
143
|
-
MaidrKey.DATA: plot_data,
|
|
144
|
-
}
|
|
145
|
-
|
|
134
|
+
base_schema = super().render()
|
|
135
|
+
base_schema[MaidrKey.TITLE] = "Candlestick Chart"
|
|
136
|
+
base_schema[MaidrKey.AXES] = self._extract_axes_data()
|
|
137
|
+
base_schema[MaidrKey.DATA] = self._extract_plot_data()
|
|
146
138
|
# Include selector only if the plot supports highlighting.
|
|
147
139
|
if self._support_highlighting:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
return maidr_schema
|
|
140
|
+
base_schema[MaidrKey.SELECTOR] = self._get_selector()
|
|
141
|
+
return base_schema
|
|
@@ -5,6 +5,8 @@ from abc import ABC, abstractmethod
|
|
|
5
5
|
from matplotlib.axes import Axes
|
|
6
6
|
|
|
7
7
|
from maidr.core.enum import MaidrKey, PlotType
|
|
8
|
+
# uuid is used to generate unique identifiers for each plot layer in the MAIDR schema.
|
|
9
|
+
import uuid
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
class MaidrPlot(ABC):
|
|
@@ -55,8 +57,13 @@ class MaidrPlot(ABC):
|
|
|
55
57
|
self._schema = {}
|
|
56
58
|
|
|
57
59
|
def render(self) -> dict:
|
|
58
|
-
"""
|
|
60
|
+
"""
|
|
61
|
+
Generate the MAIDR schema for this plot layer, including a unique id for layer identification.
|
|
62
|
+
"""
|
|
63
|
+
# Generate a unique UUID for this layer to ensure each plot layer can be distinctly identified
|
|
64
|
+
# in the MAIDR frontend. This supports robust layer switching.
|
|
59
65
|
maidr_schema = {
|
|
66
|
+
MaidrKey.ID: str(uuid.uuid4()),
|
|
60
67
|
MaidrKey.TYPE: self.type,
|
|
61
68
|
MaidrKey.TITLE: self.ax.get_title(),
|
|
62
69
|
MaidrKey.AXES: self._extract_axes_data(),
|
|
@@ -12,6 +12,7 @@ from maidr.util.mixin import (
|
|
|
12
12
|
LevelExtractorMixin,
|
|
13
13
|
)
|
|
14
14
|
from maidr.util.mplfinance_utils import MplfinanceDataExtractor
|
|
15
|
+
from maidr.core.enum.maidr_key import MaidrKey
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
class MplfinanceBarPlot(
|
|
@@ -122,20 +123,10 @@ class MplfinanceBarPlot(
|
|
|
122
123
|
return "g[maidr='true'] > path"
|
|
123
124
|
|
|
124
125
|
def render(self) -> dict:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
maidr_schema = {
|
|
131
|
-
MaidrKey.TYPE: self.type,
|
|
132
|
-
MaidrKey.TITLE: title,
|
|
133
|
-
MaidrKey.AXES: self._extract_axes_data(),
|
|
134
|
-
MaidrKey.DATA: self._extract_plot_data(),
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
# Include selector only if the plot supports highlighting.
|
|
126
|
+
base_schema = super().render()
|
|
127
|
+
base_schema[MaidrKey.TITLE] = "Volume Bar Plot"
|
|
128
|
+
base_schema[MaidrKey.AXES] = self._extract_axes_data()
|
|
129
|
+
base_schema[MaidrKey.DATA] = self._extract_plot_data()
|
|
138
130
|
if self._support_highlighting:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
return maidr_schema
|
|
131
|
+
base_schema[MaidrKey.SELECTOR] = self._get_selector()
|
|
132
|
+
return base_schema
|
|
@@ -179,18 +179,10 @@ class MplfinanceLinePlot(MaidrPlot, LineExtractorMixin):
|
|
|
179
179
|
return periods[0] if periods else ""
|
|
180
180
|
|
|
181
181
|
def render(self) -> dict:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
MaidrKey.TYPE: self.type,
|
|
187
|
-
MaidrKey.TITLE: title,
|
|
188
|
-
MaidrKey.AXES: self._extract_axes_data(),
|
|
189
|
-
MaidrKey.DATA: self._extract_plot_data(),
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
# Include selector only if the plot supports highlighting.
|
|
182
|
+
base_schema = super().render()
|
|
183
|
+
base_schema[MaidrKey.TITLE] = "Moving Average Line Plot"
|
|
184
|
+
base_schema[MaidrKey.AXES] = self._extract_axes_data()
|
|
185
|
+
base_schema[MaidrKey.DATA] = self._extract_plot_data()
|
|
193
186
|
if self._support_highlighting:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
return maidr_schema
|
|
187
|
+
base_schema[MaidrKey.SELECTOR] = self._get_selector()
|
|
188
|
+
return base_schema
|
|
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
|
{maidr-1.4.8 → maidr-1.4.9}/docs/_extensions/shafayetShafee/line-highlight/line-highlight.lua
RENAMED
|
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
|
{maidr-1.4.8 → maidr-1.4.9}/example/facet-subplots/matplotlib/example_mpl_facet_combined_plot.py
RENAMED
|
File without changes
|
|
File without changes
|
{maidr-1.4.8 → maidr-1.4.9}/example/facet-subplots/seaborn/example_sns_facet_combined_plot.py
RENAMED
|
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
|
|
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
|
|
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
|