mgplot 0.2.31__tar.gz → 0.2.33__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.
Files changed (63) hide show
  1. {mgplot-0.2.31 → mgplot-0.2.33}/CHANGELOG.md +36 -0
  2. {mgplot-0.2.31 → mgplot-0.2.33}/PKG-INFO +2 -2
  3. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/bar_plot.html +143 -143
  4. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/fill_between_plot.html +31 -31
  5. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/finalise_plot.html +646 -614
  6. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/growth_plot.html +88 -88
  7. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/line_plot.html +522 -408
  8. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/postcovid_plot.html +93 -91
  9. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/revision_plot.html +25 -25
  10. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/run_plot.html +68 -66
  11. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/seastrend_plot.html +22 -22
  12. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot/summary_plot.html +143 -143
  13. {mgplot-0.2.31 → mgplot-0.2.33}/docs/mgplot.html +602 -541
  14. mgplot-0.2.33/docs/search.js +46 -0
  15. {mgplot-0.2.31 → mgplot-0.2.33}/pyproject.toml +1 -1
  16. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/annotation_utils.py +196 -51
  17. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/line_plot.py +33 -5
  18. mgplot-0.2.33/test/test_annotate_text.py +142 -0
  19. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_annotation_collision.py +66 -2
  20. {mgplot-0.2.31 → mgplot-0.2.33}/uv.lock +496 -414
  21. mgplot-0.2.31/docs/search.js +0 -46
  22. {mgplot-0.2.31 → mgplot-0.2.33}/.claude/settings.local.json +0 -0
  23. {mgplot-0.2.31 → mgplot-0.2.33}/.gitignore +0 -0
  24. {mgplot-0.2.31 → mgplot-0.2.33}/.pylintrc +0 -0
  25. {mgplot-0.2.31 → mgplot-0.2.33}/.python-version +0 -0
  26. {mgplot-0.2.31 → mgplot-0.2.33}/LICENSE +0 -0
  27. {mgplot-0.2.31 → mgplot-0.2.33}/README.md +0 -0
  28. {mgplot-0.2.31 → mgplot-0.2.33}/build-all.sh +0 -0
  29. {mgplot-0.2.31 → mgplot-0.2.33}/build-docs.sh +0 -0
  30. {mgplot-0.2.31 → mgplot-0.2.33}/docs/index.html +0 -0
  31. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/__init__.py +0 -0
  32. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/axis_utils.py +0 -0
  33. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/bar_plot.py +0 -0
  34. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/colors.py +0 -0
  35. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/fill_between_plot.py +0 -0
  36. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/finalise_plot.py +0 -0
  37. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/finalisers.py +0 -0
  38. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/growth_plot.py +0 -0
  39. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/keyword_checking.py +0 -0
  40. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/lint-all.sh +0 -0
  41. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/multi_plot.py +0 -0
  42. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/postcovid_plot.py +0 -0
  43. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/py.typed +0 -0
  44. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/revision_plot.py +0 -0
  45. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/run_plot.py +0 -0
  46. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/seastrend_plot.py +0 -0
  47. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/settings.py +0 -0
  48. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/summary_plot.py +0 -0
  49. {mgplot-0.2.31 → mgplot-0.2.33}/src/mgplot/utilities.py +0 -0
  50. {mgplot-0.2.31 → mgplot-0.2.33}/test/test-executed.ipynb +0 -0
  51. {mgplot-0.2.31 → mgplot-0.2.33}/test/test.ipynb +0 -0
  52. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_axvline_text.py +0 -0
  53. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_bar_horizontal.py +0 -0
  54. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_bar_string_index.py +0 -0
  55. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_chart_subdir.py +0 -0
  56. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_multi_series_ticks.py +0 -0
  57. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_splat_sequences.py +0 -0
  58. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_tick_relabel.py +0 -0
  59. {mgplot-0.2.31 → mgplot-0.2.33}/test/test_zorder.py +0 -0
  60. {mgplot-0.2.31 → mgplot-0.2.33}/test/zz-test-data/ocr_rba.csv +0 -0
  61. {mgplot-0.2.31 → mgplot-0.2.33}/test/zz-test-data/revisions.csv +0 -0
  62. {mgplot-0.2.31 → mgplot-0.2.33}/test/zz-test-data/summary.csv +0 -0
  63. {mgplot-0.2.31 → mgplot-0.2.33}/uv-upgrade.sh +0 -0
@@ -1,3 +1,39 @@
1
+ Version 0.2.33 - released 22-Aug-2026 (Canberra, Australia)
2
+
3
+ * enhancement
4
+ - the line_plot() key annotate now takes a string as well as a flag, so a
5
+ line can be labelled with arbitrary text (a vintage such as "26Q2", say)
6
+ instead of its end-point value. As with color and style, a scalar string
7
+ broadcasts to every series and a list applies per series. annotate=True
8
+ still prints the end-point value, and False or the empty string still
9
+ means no label. A string label is printed as given, so rounding has no
10
+ effect on it; annotate_color still applies and remains the way to colour
11
+ the label. String labels de-collide, honour force_right and get
12
+ leader_lines exactly as value labels do.
13
+
14
+ ---
15
+
16
+ Version 0.2.32 - released 22-Aug-2026 (Canberra, Australia)
17
+
18
+ * enhancement
19
+ - new line_plot() key force_right (default False). When set, every
20
+ end-of-line annotation is placed at the rightmost data point on the axes
21
+ and stacked there, instead of first trying to stay at its own line end.
22
+ - new line_plot() key leader_lines (default False). When set, any
23
+ annotation that finished more than half its own height away from its
24
+ line end is joined back to that line end by a thin leader in the line's
25
+ colour. This covers labels displaced by an ordinary collision nudge as
26
+ well as those snapped to the right-hand edge.
27
+
28
+ * bug fix
29
+ - annotations snapped to the right-hand edge are now stacked in the same
30
+ vertical order as the line ends they belong to. Previously each label
31
+ took the nearest free slot as it was placed, and slots already taken
32
+ were never revisited, so lines that finished close together could have
33
+ their labels come out in a different order to the lines themselves.
34
+
35
+ ---
36
+
1
37
  Version 0.2.31 - released 22-Jul-2026 (Canberra, Australia)
2
38
 
3
39
  * enhancement
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: mgplot
3
- Version: 0.2.31
3
+ Version: 0.2.33
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