Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b83aff

Browse files
[skip ci] Change layout of vertex array for non-reversed LArrow head to match other instances
1 parent73d9532 commit2b83aff

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎lib/matplotlib/patches.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2586,10 +2586,15 @@ def __call__(self, x0, y0, width, height, mutation_size):
25862586
x0-=padding_offset
25872587

25882588
returnPath._create_closed(
2589-
[(x0+dxx,y0), (x1,y0), (x1,y1), (x0+dxx,y1),
2590-
(x0+dxx,y1+width_adjustment), (x0-angle_adjustment,y0
2591-
+dx), (x0+dxx,y0-width_adjustment),# arrow
2592-
(x0+dxx,y0)])
2589+
[(x0+dxx,y0),
2590+
(x1,y0),
2591+
(x1,y1),
2592+
(x0+dxx,y1),
2593+
(x0+dxx,y1+width_adjustment),
2594+
(x0-angle_adjustment,y0+dx),
2595+
(x0+dxx,y0-width_adjustment),
2596+
(x0+dxx,y0)
2597+
])
25932598
else:
25942599
# Reversed arrow head (>---)
25952600

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp