mgplot 0.2.32__tar.gz → 0.2.34__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.32 → mgplot-0.2.34}/CHANGELOG.md +47 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/PKG-INFO +1 -1
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/bar_plot.html +143 -143
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/fill_between_plot.html +31 -31
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/finalise_plot.html +219 -219
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/growth_plot.html +88 -88
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/line_plot.html +522 -408
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/postcovid_plot.html +93 -91
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/revision_plot.html +25 -25
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/run_plot.html +171 -168
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/seastrend_plot.html +22 -22
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot/summary_plot.html +143 -143
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/mgplot.html +599 -539
- mgplot-0.2.34/docs/search.js +46 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/pyproject.toml +7 -1
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/__init__.py +0 -1
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/annotation_utils.py +80 -28
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/axis_utils.py +3 -3
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/finalise_plot.py +1 -1
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/line_plot.py +25 -3
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/multi_plot.py +1 -1
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/run_plot.py +2 -1
- mgplot-0.2.34/test/test_annotate_text.py +143 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_annotation_collision.py +61 -3
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_axvline_text.py +12 -10
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_bar_horizontal.py +7 -7
- {mgplot-0.2.32 → mgplot-0.2.34}/uv.lock +544 -463
- mgplot-0.2.32/docs/search.js +0 -46
- {mgplot-0.2.32 → mgplot-0.2.34}/.claude/settings.local.json +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/.gitignore +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/.pylintrc +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/.python-version +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/LICENSE +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/README.md +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/build-all.sh +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/build-docs.sh +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/docs/index.html +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/bar_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/colors.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/fill_between_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/finalisers.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/growth_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/keyword_checking.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/lint-all.sh +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/postcovid_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/py.typed +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/revision_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/seastrend_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/settings.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/summary_plot.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/src/mgplot/utilities.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test-executed.ipynb +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test.ipynb +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_bar_string_index.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_chart_subdir.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_multi_series_ticks.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_splat_sequences.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_tick_relabel.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/test_zorder.py +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/zz-test-data/ocr_rba.csv +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/zz-test-data/revisions.csv +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/test/zz-test-data/summary.csv +0 -0
- {mgplot-0.2.32 → mgplot-0.2.34}/uv-upgrade.sh +0 -0
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
Version 0.2.34 - released 23-Sep-2026 (Canberra, Australia)
|
|
2
|
+
|
|
3
|
+
* bug fix
|
|
4
|
+
- end-of-line annotations could read out of order when some near-end
|
|
5
|
+
labels fitted at their own line end and others had to be snapped to the
|
|
6
|
+
right-hand edge. The snapped stack was moved as a rigid block to clear
|
|
7
|
+
the labels already placed, so it could jump over them (a 0.80 label
|
|
8
|
+
landing above 1.12 and 1.35) and drag unrelated labels well away from
|
|
9
|
+
their lines. Now a near-end label joins the stack only when the stack
|
|
10
|
+
would collide with it, and labels nothing collides with are left exactly
|
|
11
|
+
where they are. Separate pile-ups are resolved as separate stacks, so one
|
|
12
|
+
no longer moves another.
|
|
13
|
+
- run_plot() rounded its change annotation with the numpy .round()
|
|
14
|
+
method, which newer pandas type stubs report as missing (Series.sum()
|
|
15
|
+
is typed as a plain float). It now uses the built-in round(), with the
|
|
16
|
+
rounding digits narrowed to an int; the printed label is unchanged.
|
|
17
|
+
|
|
18
|
+
* minor changes
|
|
19
|
+
- added two regression tests to test/test_annotation_collision.py: one
|
|
20
|
+
reproducing the out-of-order stack, and one with two separate pile-ups
|
|
21
|
+
and a clear label between them that must not move.
|
|
22
|
+
- ruff: CPY001 (missing copyright notice) is now ignored project-wide, as
|
|
23
|
+
the LICENSE file carries the notice; S101, PLR2004 and INP001 are
|
|
24
|
+
ignored under test/.
|
|
25
|
+
- fixed RUF036 (None not last in a type union, 5 places) and RUF068
|
|
26
|
+
(duplicate "run_plot" in __all__) in src/.
|
|
27
|
+
- fixed ruff and pyright warnings in four test files (matplotlib imported
|
|
28
|
+
as mpl, itertools.pairwise, no asserts inside except blocks, typed
|
|
29
|
+
helper arguments).
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
Version 0.2.33 - released 22-Aug-2026 (Canberra, Australia)
|
|
34
|
+
|
|
35
|
+
* enhancement
|
|
36
|
+
- the line_plot() key annotate now takes a string as well as a flag, so a
|
|
37
|
+
line can be labelled with arbitrary text (a vintage such as "26Q2", say)
|
|
38
|
+
instead of its end-point value. As with color and style, a scalar string
|
|
39
|
+
broadcasts to every series and a list applies per series. annotate=True
|
|
40
|
+
still prints the end-point value, and False or the empty string still
|
|
41
|
+
means no label. A string label is printed as given, so rounding has no
|
|
42
|
+
effect on it; annotate_color still applies and remains the way to colour
|
|
43
|
+
the label. String labels de-collide, honour force_right and get
|
|
44
|
+
leader_lines exactly as value labels do.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
1
48
|
Version 0.2.32 - released 22-Aug-2026 (Canberra, Australia)
|
|
2
49
|
|
|
3
50
|
* enhancement
|