Skip to content

Commit dc238b0

Browse files
authored
Fix typo in camera.py (#434)
* Cairo.Context.Context -> Cairo.Context
1 parent dd878e6 commit dc238b0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

manim/camera/camera.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
__all__ = ["Camera", "BackgroundColoredVMobjectDisplayer"]
55

66

7-
from functools import reduce
87
import itertools as it
98
import operator as op
109
import time
@@ -493,7 +492,7 @@ def get_cached_cairo_context(self, pixel_array):
493492
494493
Returns
495494
-------
496-
Cairo.Context.Context
495+
cairo.Context
497496
The cached cairo context.
498497
"""
499498
return self.pixel_array_to_cairo_context.get(id(pixel_array), None)
@@ -505,7 +504,7 @@ def cache_cairo_context(self, pixel_array, ctx):
505504
----------
506505
pixel_array : np.array
507506
The pixel array to cache
508-
ctx : Cairo.Context.Context
507+
ctx : cairo.Context
509508
The context to cache it into.
510509
"""
511510
self.pixel_array_to_cairo_context[id(pixel_array)] = ctx

0 commit comments

Comments
 (0)