Skip to content

Commit 697fbc9

Browse files
committed
Removed the controversial of ImageMobject example with online file
1 parent 1d0cdff commit 697fbc9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docs/source/examples/shapes_images_positions.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,6 @@ Shapes, Images and Positions
4949
self.add(image)
5050

5151

52-
.. manim:: ImageFromFile
53-
:save_last_frame:
54-
55-
class ImageFromFile(Scene):
56-
def construct(self):
57-
# Use PIL when you want to import an image from the web
58-
import requests
59-
from PIL import Image
60-
img = Image.open("../logo/cropped.png")
61-
img_mobject = ImageMobject(img)
62-
# this line, when you want to import your Image on your machine
63-
# img_mobject = ImageMobject("<your image address>")
64-
img_mobject.scale(3)
65-
self.add(img_mobject)
66-
67-
6852
.. manim:: ArcShapeIris
6953
:save_last_frame:
7054

0 commit comments

Comments
 (0)