Better alignment
This commit is contained in:
parent
6a00aad2a1
commit
d0e1b763a7
1 changed files with 3 additions and 3 deletions
|
@ -124,11 +124,11 @@ class Hodograph():
|
||||||
legends = {
|
legends = {
|
||||||
'0°': (
|
'0°': (
|
||||||
lambda e: x + cx - e.width / 2,
|
lambda e: x + cx - e.width / 2,
|
||||||
lambda e: y + self.height - 2 * e.height
|
lambda e: y + self.height - e.height
|
||||||
),
|
),
|
||||||
|
|
||||||
'90°': (
|
'90°': (
|
||||||
lambda e: x + cx - e.width * 2,
|
lambda e: x + e.height,
|
||||||
lambda e: y + cy + e.height / 2
|
lambda e: y + cy + e.height / 2
|
||||||
),
|
),
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ class Hodograph():
|
||||||
),
|
),
|
||||||
|
|
||||||
'270°': (
|
'270°': (
|
||||||
lambda e: x + self.width - e.width * 2,
|
lambda e: x + self.width - e.width - e.height,
|
||||||
lambda e: y + cy + e.height / 2
|
lambda e: y + cy + e.height / 2
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue