Nilay
c19a06db24
Support VDict init from python dict of mobjects ( #316 )
...
* Support VDict init from python dict of mobjects
* Small style change
* Formatting using black
* Rework VDict to emulate init of python dict
* Update comment
* Add a few tests
* Update manim/mobject/types/vectorized_mobject.py
* Update docs
* Add few more tests, raise TypeError instead of Exception
* Raise KeyError instead of Exception when key is not in the VDcit
* Remove old comment
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
2020-08-20 07:29:17 -04:00
Devin Neal
6e5770a85f
Enforce formatting with CI ( #221 )
...
Enforce formatting with CI
2020-07-31 00:42:34 -07:00
Syrus Dark
7112b51580
Remove print statement
2020-07-22 18:42:35 +05:30
Nilay Bhatia
e7e29e8841
Added a VDict class with usage example ( #190 )
...
* Added a VDict class
* Changed a typo in error message
* Added an example to use VDict class in example_scenes.py
* Added option to show key beside mobject
* Implemented python dict styled key assignment
* Added docstrings
* Added support for python dict styled reassignment
* Corrected small typo
Co-authored-by: Aathish <aathish04@gmail.com>
* Changed type for pairs in docs
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed incorrect attribute
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed 'optional' from attribute
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed 'kwargs' as an incorrect attribute
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed extra colon
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Update manim/mobject/types/vectorized_mobject.py
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed 'self'
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed self
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Added type to key
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Changed type for pairs in docs
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed name for return value
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Update manim/mobject/types/vectorized_mobject.py
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Update manim/mobject/types/vectorized_mobject.py
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Removed extra square brackets
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Update manim/mobject/types/vectorized_mobject.py
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Update manim/mobject/types/vectorized_mobject.py
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Corrected type for key in docs
* Fix docs indentation
Co-authored-by: Aathish <aathish04@gmail.com>
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
2020-07-12 09:42:17 +05:30
leotrs
32f72a0d59
split config into two dicts
2020-06-04 23:25:55 -04:00
leotrs
9958044e0e
The __init__ file is executed when the user imports our package, so this is the natural file to place all imports. This removes the necessity for a separate imports.py file. Also, the main entrypoint has been moved from __init__.py to __main__.py, as intended by python packaging standards. Finally, the extract_scene.py module is not an entrypoint so it does not require a if __name__ == __main__ clause. Finally, this commit also fixes a typo (extra trailing comma) in requirements.py
2020-05-24 18:27:26 -04:00
Devin Neal
82f6572209
Replace manimlib imports with manim
2020-05-21 15:13:11 -07:00
Devin Neal
c3c11b31dc
Rename sample scenes
2020-05-20 14:33:35 -07:00