Skip to content

Commit 55c9bf9

Browse files
committed
chore: refactor animation to remove dep
1 parent 8a716fb commit 55c9bf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tesserax/animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import io
99
import base64
1010
from pathlib import Path
11-
import imageio
1211

1312

1413
from .base import IVisual, Text, Polyline
@@ -822,6 +821,7 @@ def save(self, dest: str | Path | io.BytesIO, format: str | None = None, **kwarg
822821
if not self._frames:
823822
return
824823

824+
import imageio
825825
from PIL import Image
826826

827827
# Convert PNG bytes to Pillow images for ImageIO

0 commit comments

Comments
 (0)