friedkeenan
3ad385a168
Enhancement: Migrate width/height/depth to properties ( #1024 )
...
* Migrate width/height/depth to properties
* Fix examples
* Fix typos
* Import manim for doctests
* Expect Square for doctests
* Improve docs for width/height/depth properties
2021-02-14 12:33:12 +01:00
kolibril13
691db1e461
Run proofreading over the whole library ( #890 )
2021-01-01 17:59:12 +01:00
Devin Neal
ffd8b42d26
Add .animate attribute to mobjects ( #881 )
...
Adds a .animate attribute to mobjects to be used to animate methods.
2020-12-30 05:56:38 -08:00
Aron
247cdeecf6
Update Docs Url ( #832 )
...
* Changed manimce links in the docs to docs.manim.community, replaced manimce with manim where applicable
* black is extra finicky today
Co-authored-by: Aron Fischer <cobordism@github, co-bordism@gitlab>
2020-12-07 09:59:21 +05:30
Devin Neal
3b6519a586
Restore examples/basic.py ( #560 )
...
* Restore examples/basic.py
* Update example_scenes/basic.py
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
* Update example_scenes/basic.py
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
* Format basic.py
* Update example_scenes/basic.py
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
* Format basic.py
* Remove extra comment
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2020-10-18 14:19:13 +02:00
kolibril13
64d398ab4d
# removed neat_projects.rst
...
and renamed shapes_images_positions.rst
2020-10-13 15:50:22 +02:00
github-actions[bot]
384de0ff91
Running Black On Master ( #419 )
...
Co-authored-by: github-actions <actions@github.com>
2020-09-08 07:47:55 -04:00
Nilay
a15368035c
Add the Variable class with an example ( #380 )
...
* Add the Variable class with an example. It inherits
* Automatically detect math/text mode
* Allow passing a Tex, MathTex, Text as label
* Update changelog with Variable class
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
Co-authored-by: Aathish Sivasubrahmanian <aathish04@gmail.com>
2020-09-03 11:34:11 -04:00
Aathish Sivasubrahmanian
6df53cc9f7
Deprecate TexMobject and TextMobject in favour of MathTex and Tex ( #391 )
...
* Rename TexMobject to MathTex
Rename TextMobject to Tex
Replace all instances of TexMobject with MathTex and TextMobject with Tex.
Get rid of single-use TexSymbol.
Rename SingleStringTexMobject to SingleStringMathTex.
Add Deprecation warnings to TexMobject and TextMobject.
* Edit __all__ for tex_mobject.py
* Re-add TexSymbol by request of devs.
* Docstring Modifications by @pgbiel
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
* Import logger differently, by @leotrs
* Run updated Black on files changed.
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
2020-09-02 09:20:37 +05:30
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