Commit 34d601f
committed
FIX: quiver key pivot location
In PR #3955 / af17051 the quiver pivot
location was normalized to be 'tip', 'tail', or 'middle' internally.
The key 'mid' is now normalized to 'middle'. The quiver key code
circumvents the normalization and was setting `Quiver.pivot' to 'mid',
which fell back to the default behavior of pivoting on the tail when the
quiver key is drawn.
closes #56131 parent 2f65b5b commit 34d601fCopy full SHA for 34d601f
File tree
Expand file treeCollapse file tree
3 files changed
+21
-1
lines changedOpen diff view settings
Filter options
- lib/matplotlib
- tests
- baseline_images/test_quiver
Expand file treeCollapse file tree
3 files changed
+21
-1
lines changedOpen diff view settings
Collapse file
+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
228 | 228 | |
229 | 229 | |
230 | 230 | |
231 | | - |
| 231 | + |
232 | 232 | |
233 | 233 | |
234 | 234 | |
| ||
708 | 708 | |
709 | 709 | |
710 | 710 | |
| 711 | + |
| 712 | + |
| 713 | + |
| 714 | + |
711 | 715 | |
712 | 716 | |
713 | 717 | |
|
Collapse file
lib/matplotlib/tests/baseline_images/test_quiver/quiver_key_pivot.png
Copy file name to clipboard58.4 KB- Display the source diff
- Display the rich diff
Loading
Collapse file
lib/matplotlib/tests/test_quiver.py
Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_quiver.py+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
92 | 92 | |
93 | 93 | |
94 | 94 | |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
95 | 111 | |
96 | 112 | |
97 | 113 | |
0 commit comments