Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixing documentation build errors, including the wrong logo url

MysaaJava1e71db40b85d
diff --git a/docs/source/examples.rst b/docs/source/examples.rst
index 037b230e9..5f5fff964 100644
--- a/docs/source/examples.rst
+++ b/docs/source/examples.rst
@@ -1,5 +1,5 @@
Example Gallery
-============
+===============
.. toctree::
diff --git a/docs/source/examples/shapes_images_positions.rst b/docs/source/examples/shapes_images_positions.rst
index 67b55cf00..fd90afeb2 100644
--- a/docs/source/examples/shapes_images_positions.rst
+++ b/docs/source/examples/shapes_images_positions.rst
@@ -59,7 +59,7 @@ Shapes, Images and Positions
# Use PIL when you want to import an image from the web
import requests
from PIL import Image
- img = Image.open(requests.get("https://raw.githubusercontent.com/ManimCommunity/manim/master/logo/logoBAlpha.png",
+ img = Image.open(requests.get("https://raw.githubusercontent.com/ManimCommunity/manim/master/logo/cropped.png",
stream=True).raw)
img_mobject = ImageMobject(img)
# this line, when you want to import your Image on your machine
diff --git a/manim/mobject/types/image_mobject.py b/manim/mobject/types/image_mobject.py
index 0d58a5765..1210541fa 100644
--- a/manim/mobject/types/image_mobject.py
+++ b/manim/mobject/types/image_mobject.py
@@ -71,7 +71,7 @@ class ImageMobject(AbstractImageMobject):
# Use PIL when you want to import an image from the web
import requests
from PIL import Image
- img = Image.open(requests.get("https://raw.githubusercontent.com/ManimCommunity/manim/master/logo/logoB.png",
+ img = Image.open(requests.get("https://raw.githubusercontent.com/ManimCommunity/manim/master/logo/cropped.png",
stream=True).raw)
img_mobject = ImageMobject(img)
# this line, when you want to import your Image on your machine