mgplot 0.2.30__tar.gz → 0.2.32__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.30 → mgplot-0.2.32}/CHANGELOG.md +39 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/PKG-INFO +2 -2
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/finalise_plot.html +560 -528
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot.html +63 -63
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/search.js +1 -1
- {mgplot-0.2.30 → mgplot-0.2.32}/pyproject.toml +1 -1
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/annotation_utils.py +196 -51
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/finalise_plot.py +45 -13
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/line_plot.py +8 -2
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_annotation_collision.py +66 -2
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_axvline_text.py +30 -1
- {mgplot-0.2.30 → mgplot-0.2.32}/uv.lock +496 -414
- {mgplot-0.2.30 → mgplot-0.2.32}/.claude/settings.local.json +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/.gitignore +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/.pylintrc +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/.python-version +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/LICENSE +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/README.md +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/build-all.sh +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/build-docs.sh +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/index.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/bar_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/fill_between_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/growth_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/line_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/postcovid_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/revision_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/run_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/seastrend_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/docs/mgplot/summary_plot.html +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/__init__.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/axis_utils.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/bar_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/colors.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/fill_between_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/finalisers.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/growth_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/keyword_checking.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/lint-all.sh +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/multi_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/postcovid_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/py.typed +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/revision_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/run_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/seastrend_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/settings.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/summary_plot.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/src/mgplot/utilities.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test-executed.ipynb +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test.ipynb +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_bar_horizontal.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_bar_string_index.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_chart_subdir.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_multi_series_ticks.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_splat_sequences.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_tick_relabel.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/test_zorder.py +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/zz-test-data/ocr_rba.csv +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/zz-test-data/revisions.csv +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/test/zz-test-data/summary.csv +0 -0
- {mgplot-0.2.30 → mgplot-0.2.32}/uv-upgrade.sh +0 -0
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
Version 0.2.32 - released 22-Aug-2026 (Canberra, Australia)
|
|
2
|
+
|
|
3
|
+
* enhancement
|
|
4
|
+
- new line_plot() key force_right (default False). When set, every
|
|
5
|
+
end-of-line annotation is placed at the rightmost data point on the axes
|
|
6
|
+
and stacked there, instead of first trying to stay at its own line end.
|
|
7
|
+
- new line_plot() key leader_lines (default False). When set, any
|
|
8
|
+
annotation that finished more than half its own height away from its
|
|
9
|
+
line end is joined back to that line end by a thin leader in the line's
|
|
10
|
+
colour. This covers labels displaced by an ordinary collision nudge as
|
|
11
|
+
well as those snapped to the right-hand edge.
|
|
12
|
+
|
|
13
|
+
* bug fix
|
|
14
|
+
- annotations snapped to the right-hand edge are now stacked in the same
|
|
15
|
+
vertical order as the line ends they belong to. Previously each label
|
|
16
|
+
took the nearest free slot as it was placed, and slots already taken
|
|
17
|
+
were never revisited, so lines that finished close together could have
|
|
18
|
+
their labels come out in a different order to the lines themselves.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Version 0.2.31 - released 22-Jul-2026 (Canberra, Australia)
|
|
23
|
+
|
|
24
|
+
* enhancement
|
|
25
|
+
- the loc key on an annotated axvline label now chooses which flank of the
|
|
26
|
+
line the label sits on, as well as which end of the plot. loc is a
|
|
27
|
+
space-separated string mixing a vertical word ("auto", the default, or
|
|
28
|
+
"top"/"bottom") with a side word ("left"/"right"); either may be omitted
|
|
29
|
+
and the order does not matter. The side places the rotated label on the
|
|
30
|
+
left or right of the line, VLINE_TEXT_OFFSET points away. An omitted side
|
|
31
|
+
defaults to "right", so a bare "auto"/"top"/"bottom" - and any code
|
|
32
|
+
written against 0.2.30 - behaves exactly as before. A loc naming two
|
|
33
|
+
vertical words, two side words, or an unrecognised word raises, as each
|
|
34
|
+
is a typo rather than a choice.
|
|
35
|
+
- the default gap between a label and its line (VLINE_TEXT_OFFSET) is now
|
|
36
|
+
2 points rather than 3, pulling the text in a little closer.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
1
40
|
Version 0.2.30 - released 21-Jul-2026 (Canberra, Australia)
|
|
2
41
|
|
|
3
42
|
* enhancement
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: mgplot
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.32
|
|
4
4
|
Summary: mgplot is a time-series/PeriodIndex frontend for matplotlib
|
|
5
5
|
Project-URL: Repository, https://github.com/bpalmer4/mgplot
|
|
6
6
|
Project-URL: Homepage, https://github.com/bpalmer4/mgplot
|