manim/docs/source
Tristan Schulz d77a47a233
Fix Typing (#3086)
* first draft of color class + starting library conversion

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* changed everything to Manim color todo: figure out circular dependency in utils

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* first working draft of new color version

* resolving conflicts

* resolving conflicts

* resolving conflicts

* resolving conflicts

* resolving conflicts

* changed default internal value of ManimColor to np.ndarray[float]

* starting to fix tests

* fixed more tests and changed precision of manim color

* removed premature color conversion

* fixed some more tests

* final test changes

* fix doctests

* fix for 3.8

* fixing ManimColor string representation

* removing some unneccesary conversions

* moved community constants to manim_colors.py and added more color standards

* Added typing.py and typed bezier.py, core.py, constants.py  fully

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed codeql complaints

* add type ignore for np.allclose

* fixed import in three_dimensions

* added ignore for F401 back again in flake

* added typings to coordinate_systems.py

* Few improvements to `graphing/coordinate_systems.py`

* added some typings to mobject/geometry/line.py

* updated typings for mobject/geometry/line.py

* Add missing imports to `line.py`

* added typings to three_dimensions.py

* Use `FunctionOverride` for animation overrides

Fix type signature of `set_color_by_gradient`

* Remove `TYPE_CHECKING` check

Doc is failing

* Revert "Remove `TYPE_CHECKING` check"

Fails due to circular import

* Use `Self` in `coordinate_systems.py`

* Typehinted mobject.py and updated manim.typing.py

* Typed VMobject

* Type-hinted manim.mobject.geometry

* math.cos->np.cos, etc & fixed incorrect typehints

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix missing annotations import

* TypeAlias fix in typing.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add ignore errors again to mypy because commits are not possible like this

* Fix last typing issues

* Update docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Only type check manim

* Try fixing pre-commit

* fix merge

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix compat

* Fix compat again

* Fix imports compat

* Use union syntax

* Use union syntax

* Fix reduce_across_dimension

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Various test and merge fixes

* Doc fixes

* Last doc fix

* Revert usage of np over math

* Bump numpy version

* Remove obsolete duplicate example

* Fixed Incorrect Typehint in manim.constants

* Fix docstring typo

* More fixes

Use mypy.ini instead of .mypy.ini
Fix more docstrings
Improve types in utils and constants

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* docs fixes

* Add internal aliases

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix compat

* line lengths in .rst file, formatting, typos

* add docstring for space_ops:cross2d

* add some more arrow tip typings (in a non-circular import causing way)

* yes, this can be deleted

* fix formatting of example

* added docstring to bezier::inverse_interpolation

* added docstring + test for bezier::match_interpolate

* some improvements in coordinate_systems

* Vector -> Vector3

* replaced np.ndarray with more appropriate type hints

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply feedback

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* revert to previous (new) version

* fix doctest

* fix ReST errors

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Lembcke <alex.lembcke@gmail.com>
Co-authored-by: Viicos <65306057+Viicos@users.noreply.github.com>
Co-authored-by: JasonGrace2282 <aarush.deshpande@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2023-11-04 00:49:11 +01:00
..
_static docs: enable social cards (#3219) 2023-04-25 13:26:35 +02:00
_templates Adding :class: ManimColor to manim and converting all types (#3020) 2023-08-08 14:47:00 +02:00
changelog Prepare new release: v0.17.3 (#3198) 2023-04-06 18:59:43 +02:00
contributing Fix Typing (#3086) 2023-11-04 00:49:11 +01:00
faq Added FAQ entry regarding failed `manimpango` build (#3001) 2022-10-26 19:47:17 +02:00
guides fix(docs): Remove extra curly bracket in LaTeX math expression to fix issue #3330 (#3389) 2023-10-10 12:29:03 +02:00
installation Update dependencies for apple silicon in macos.rst (#3290) 2023-07-16 10:18:01 +02:00
reference_index Replaced renderer strings with :class:.RendererType enum entries (#3017) 2022-11-13 06:14:35 +00:00
tutorials Refactored structure of documentation; added :doc:FAQ section <faq/index> (#2732) 2022-05-27 08:45:31 +00:00
changelog.rst Prepare new release: v0.17.3 (#3198) 2023-04-06 18:59:43 +02:00
conduct.md Added code of conduct (#935) 2021-01-18 19:14:57 +05:30
conf.py Adding :class: ManimColor to manim and converting all types (#3020) 2023-08-08 14:47:00 +02:00
contributing.rst Removed suggestion issue template, added FAQ answer regarding proposing new features (#2828) 2022-06-18 13:45:40 +02:00
examples.rst Update PolygonOnAxes example (#2892) 2022-07-22 00:35:59 +00:00
index.rst Add conda installation docs (#2914) 2022-08-31 13:11:34 +00:00
installation.rst replace mentions of Python 3.7 as the minimally required version with 3.8 (#3274) 2023-07-05 00:02:11 +09:00
plugins.rst Replaced renderer strings with :class:.RendererType enum entries (#3017) 2022-11-13 06:14:35 +00:00
reference.rst Added :class:.ChangeSpeed, an animation wrapper that allows to smoothly change the speed at which an animation is played (#2749) 2022-07-06 16:39:55 +02:00
robots.txt Flake8 Changes + Fixing Warnings (#1968) 2021-09-03 13:45:48 -04:00
tutorials_guides.rst Refactored structure of documentation; added :doc:FAQ section <faq/index> (#2732) 2022-05-27 08:45:31 +00:00