mgplot 0.2.20__tar.gz → 0.2.22__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.
- {mgplot-0.2.20 → mgplot-0.2.22}/CHANGELOG.md +33 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/PKG-INFO +1 -1
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/finalise_plot.html +732 -697
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot.html +100 -100
- mgplot-0.2.22/docs/search.js +46 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/pyproject.toml +1 -1
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/axis_utils.py +53 -8
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/finalise_plot.py +79 -31
- mgplot-0.2.22/test/test_splat_sequences.py +170 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/uv.lock +449 -424
- mgplot-0.2.20/docs/search.js +0 -46
- {mgplot-0.2.20 → mgplot-0.2.22}/.gitignore +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/.pylintrc +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/LICENSE +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/README.md +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/build-all.sh +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/build-docs.sh +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/index.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/bar_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/fill_between_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/growth_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/line_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/postcovid_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/revision_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/run_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/seastrend_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/docs/mgplot/summary_plot.html +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/__init__.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/bar_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/colors.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/fill_between_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/finalisers.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/growth_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/keyword_checking.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/line_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/lint-all.sh +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/multi_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/postcovid_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/py.typed +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/revision_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/run_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/seastrend_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/settings.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/summary_plot.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/src/mgplot/utilities.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/test-executed.ipynb +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/test.ipynb +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/test_bar_string_index.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/test_multi_series_ticks.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/test_zorder.py +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/zz-test-data/ocr_rba.csv +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/zz-test-data/revisions.csv +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/test/zz-test-data/summary.csv +0 -0
- {mgplot-0.2.20 → mgplot-0.2.22}/uv-upgrade.sh +0 -0
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
Version 0.2.22 - released 22-Apr-2026 (Canberra, Australia)
|
|
2
|
+
|
|
3
|
+
* bug fix
|
|
4
|
+
- finalise_plot() now converts pandas Period values passed to axvline
|
|
5
|
+
(x) and axvspan (xmin, xmax) into their integer ordinals, matching
|
|
6
|
+
the ordinal-mapped x-axis used for PeriodIndex plots
|
|
7
|
+
|
|
8
|
+
* enhancement
|
|
9
|
+
- axis_utils now stashes (freq, min_ordinal, max_ordinal) on any Axes
|
|
10
|
+
that mgplot period-maps, via register_period_axes() / get_period_axes()
|
|
11
|
+
- set_labels() registers the PeriodIndex and uses the union of the
|
|
12
|
+
stashed ordinal range and the current xlim when building tick labels
|
|
13
|
+
- plotting a second PeriodIndex with a different freq onto the same
|
|
14
|
+
axes now raises ValueError (ordinals live in different spaces)
|
|
15
|
+
- finalise_plot() raises ValueError when a Period passed to
|
|
16
|
+
axvline/axvspan has a freq that does not match the axes' stashed freq;
|
|
17
|
+
axes without a stash (e.g. external matplotlib axes) retain the
|
|
18
|
+
trust-the-programmer behaviour and just use Period.ordinal
|
|
19
|
+
- added freq-mismatch tests to test/test_splat_sequences.py
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
Version 0.2.21 - released 17-Mar-2026 (Canberra, Australia)
|
|
24
|
+
|
|
25
|
+
* enhancement
|
|
26
|
+
- axhline, axvline, axhspan, axvspan in finalise_plot() now accept
|
|
27
|
+
a sequence of dicts to draw multiple lines/spans in a single call,
|
|
28
|
+
in addition to the existing single dict usage
|
|
29
|
+
- added test/test_splat_sequences.py
|
|
30
|
+
- fixed FURB110 ruff warnings (ternary if replaced with or operator)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
1
34
|
Version 0.2.20 - released 25-Feb-2026 (Canberra, Australia)
|
|
2
35
|
|
|
3
36
|
* bug fix
|