Skip to content

Commit dea7ce1

Browse files
committed
fix alignment in examples
1 parent 17320a6 commit dea7ce1

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

examples/animate_transform.py

+11-9
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ def draw() -> svg.SVG:
1313
return svg.SVG(
1414
x=0, y=0,
1515
width=120, height=120,
16-
elements=[svg.Polygon(points=[60, 30, 90, 90, 30, 90],
17-
elements=[svg.AnimateTransform(
18-
attributeName="transform",
19-
type="rotate",
20-
from_="0 60 70",
21-
to="360 60 70",
22-
dur="10s",
23-
repeatCount="indefinite")]
24-
)]
16+
elements=[svg.Polygon(
17+
points=[60, 30, 90, 90, 30, 90],
18+
elements=[svg.AnimateTransform(
19+
attributeName="transform",
20+
type="rotate",
21+
from_="0 60 70",
22+
to="360 60 70",
23+
dur="10s",
24+
repeatCount="indefinite",
25+
)]
26+
)]
2527
)
2628

2729

0 commit comments

Comments
 (0)