Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2f366fa
Make arrow annotation arrowhead adjustable
Abitamim Dec 16, 2022
e8d7eb7
Add test - not sure if correct
Abitamim Dec 16, 2022
15bd7dc
Update tutorial
Abitamim Dec 16, 2022
4f57495
Fixed linting
Abitamim Dec 16, 2022
5c3fa60
Add reversed arrow-head support to larrow/rarrow
CharlieThornton33 Apr 17, 2025
8065549
Fix reversed arrow-head support for single arrows, handle edge cases
CharlieThornton33 Apr 20, 2025
0471e92
Add support for reversed arrow-heads and edge cases in DArrow, update…
CharlieThornton33 Apr 20, 2025
212cbc9
Update docstings, add what's new notes
CharlieThornton33 Apr 22, 2025
273a2fe
Fix typo in DArrow drawing code
CharlieThornton33 Apr 28, 2025
bf2d06b
Fixed padding inconsistency: reverted breaking API change
CharlieThornton33 Apr 28, 2025
0ea2f5a
Fix what's new example
CharlieThornton33 Apr 28, 2025
d7fd405
Create unit test for boxarrow head adjustment
CharlieThornton33 Apr 30, 2025
ff34b4b
Fixed linting
CharlieThornton33 Apr 30, 2025
d9b0b32
Update new test to use mpl20 figure style
CharlieThornton33 May 1, 2025
f3369c0
Changed padding for LArrow/RArrow to prevent text spilling out
CharlieThornton33 May 14, 2025
3913ef6
[skip ci] Fix spelling mistake in LArrow padding code
CharlieThornton33 May 14, 2025
63a4ba9
Remove 'poking-out' behaviour from reversed arrow-heads, add padding …
CharlieThornton33 Jun 19, 2025
7ed9fd1
Remove now-unneeded manual padding from What's New page
CharlieThornton33 Jun 19, 2025
d953aef
Remove test_boxarrow_adjustment
CharlieThornton33 Jun 19, 2025
d2105da
Prevent text overspill from DArrows using padding
CharlieThornton33 Jun 19, 2025
54147e6
Added test for arrow-head adjustments
CharlieThornton33 Jun 20, 2025
b5ba28e
Fix padding from straight-edges of reversed arrow heads, fix incorrec…
CharlieThornton33 Jul 5, 2025
976e54b
[skip ci] Fix indentation in galleries/users_explain/text/annotations.py
CharlieThornton33 Jul 9, 2025
a08c67b
[skip ci] Use python % operator rather than np.mod() to act on scalar…
CharlieThornton33 Jul 9, 2025
1dc613e
[skip ci] Fix padding for non-reversed small head-size arrows
CharlieThornton33 Jul 18, 2025
73d9532
[skip ci] Use += and -= abbreviations
CharlieThornton33 Jul 18, 2025
2b83aff
[skip ci] Change layout of vertex array for non-reversed LArrow head …
CharlieThornton33 Jul 18, 2025
e94a777
Improve clarity of DArrow padding code
CharlieThornton33 Jul 24, 2025
98d4bc4
Make What's New example simpler and more informative
CharlieThornton33 Jul 25, 2025
2ac0bff
Implement simplified padding rules
CharlieThornton33 Aug 9, 2025
a6e2abf
Fix padding for darrows
CharlieThornton33 Sep 9, 2025
f8ba249
Style padding code consistently between larrow and darrow
CharlieThornton33 Sep 9, 2025
7b4b3b1
[ci doc] Move what's new page to releases directory
CharlieThornton33 Sep 9, 2025
119a051
[skip ci] Make head-width validation clearer
CharlieThornton33 Sep 11, 2025
80d1c40
Move head-angle validation into constructor
CharlieThornton33 Sep 11, 2025
460306e
Remove references to 'text' for describing original box
CharlieThornton33 Sep 11, 2025
201e62c
[skip ci] Fix accidental paste into docstring
CharlieThornton33 Sep 11, 2025
94fa82d
Fix nomenclature (arrow tail -> arrow shaft)
CharlieThornton33 Sep 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed linting
  • Loading branch information
Abitamim authored and CharlieThornton33 committed Apr 16, 2025
commit 4f57495fe1a1039491ce7ffd17039ee31da0abfd
10 changes: 6 additions & 4 deletions lib/matplotlib/tests/test_arrow_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def test_boxarrow():
transform=fig.transFigure,
bbox=dict(boxstyle=stylename, fc="w", ec="k"))


@image_comparison(['roadsign_test_image.png'])
def temp_test_boxarrow():

Expand All @@ -64,10 +65,11 @@ def temp_test_boxarrow():
for i, stylename in enumerate(sorted(styles)):
if stylename in ("larrow", "rarrow", "darrow"):
fig.text(0.5, ((n - i) * spacing - 0.5)/figheight, stylename,
ha="center",
size=fontsize,
transform=fig.transFigure,
bbox=dict(boxstyle=stylename+",head_width=1", fc="w", ec="k"))
ha="center",
size=fontsize,
transform=fig.transFigure,
bbox=dict(boxstyle=stylename+",head_width=1", fc="w",
ec="k"))


def __prepare_fancyarrow_dpi_cor_test():
Expand Down