mirror of
https://github.com/3b1b/manim.git
synced 2025-11-15 03:37:46 +00:00
Merge pull request #1217 from dor2727/patch-tobytes
fixed deprecation warning: tostring -> tobytes
This commit is contained in:
commit
e336cf5ddc
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ class SceneFileWriter(object):
|
||||||
Pixel array of the frame.
|
Pixel array of the frame.
|
||||||
"""
|
"""
|
||||||
if self.write_to_movie:
|
if self.write_to_movie:
|
||||||
self.writing_process.stdin.write(frame.tostring())
|
self.writing_process.stdin.write(frame.tobytes())
|
||||||
|
|
||||||
def save_final_image(self, image):
|
def save_final_image(self, image):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue