Merge branch 'master' of github.com:3b1b/manim

This commit is contained in:
Grant Sanderson 2021-02-23 12:01:00 -08:00
commit d1fc6c8ed7
3 changed files with 3 additions and 4 deletions

View file

@ -240,8 +240,8 @@ def register_font(font_file: typing.Union[str, Path]):
----- -----
This method of adding font files also works with :class:`CairoText`. This method of adding font files also works with :class:`CairoText`.
.. important :: .. important ::
This method isn't available for macOS. Using this This method is available for macOS for ``ManimPango>=v0.2.3``. Using this
method on macOS will raise an :class:`AttributeError`. method with previous releases will raise an :class:`AttributeError` on macOS.
""" """
input_folder = Path(get_downloads_dir()).parent.resolve() input_folder = Path(get_downloads_dir()).parent.resolve()

View file

@ -272,7 +272,7 @@ class Scene(object):
times, times,
total=n_iterations, total=n_iterations,
leave=self.leave_progress_bars, leave=self.leave_progress_bars,
ascii=False if platform.system() != 'Windows' else True ascii=True if platform.system() == 'Windows' else None
) )
return time_progression return time_progression

View file

@ -2,7 +2,6 @@ argparse
colour colour
numpy numpy
Pillow Pillow
progressbar
scipy scipy
sympy sympy
tqdm tqdm