* fix: Updates year to 2021
Updates year in conf.py to correct year in the footer of the documentation.
Would resolve Issue https://github.com/ManimCommunity/manim/issues/1709 if merged
* fix: Updates year to 2020-2021 in docs
* revert NumberPlane box and minor changes to other classes
* replace width in config with x_length
* fix tests
* comment out test
* get_graph label + dot mechanics
* remove graph_label from graphscene
* port over i2gp documentation + typing
* port over angle_of_tangent + docs + typing
* fix get_projection
* get_riemann rectangles + move get_graph_label
* doc changes to i2gp
* slope of tangent and get_derivative
* adjust get_axist label to allow more than mathtex
* fix dot_config
* remove default parameters from graph_get_label
* reordering + minor doc changes
* get_secant_slope_group
* get_vertical_lines_to_graph
* add_t_label converted + example + dics + portability +
* static method
* doc touchups + bugfix in get_graph
* bring back get_graph_label in graphscene
* bring back get_graph_label in graphscene pt2
* bring back get_graph_label in graphscene pt 3
* suggestions from code review + two bug fixes + documentation edits
* hardcode width_scale_factor + edits
* added docs for label methods
* fix get_graph's t_range issue, tuple issue and spam np.array in functions.py
* forgot movbject quotes + get_Graph fix
* x_range
* add defaults for coordinate_system
* oops passed x_range not t_range for get_graph
* minor docs fix + restore width_Scale_factor
* add numbers_to_include for number_line
* added get_area, bounded_graph and blend
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix: none can be specified for get_area + minor changes
* forgot self.origin_shift
* bad at git
* minor change to numberline.py: defaults rounded + numbers_to_include removes need for include_numbers
* fix: get_projection actually works now
* fix typing
* precommit + missing import
* botched imports
* improve logic for add_numebrs, (maybe sets?)
* fix self.numbers_to_include and add tips parameter that makes tip removal easy
* update all examples which reference GraphScene
* fix indentation
* increase rects in example + make label white
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* new example to gallery
* added more cross links
* enhanced example
* removed complex example
* readded example
* Compatibility with Axes + minor changes
Minor changes:
colour of graph to MAROON
`Dot()` is now on top of curve
`np.linspace()` step increased so that it actually reaches the lowest point
dot created with `initial point` instead of `move_to`
`x_range` renamed to `x_space`
* fix indent
* forgot string oops
* Update docs/source/examples.rst
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
* Finished copyedititng
* Made some more changes
* Update plugins.rst
* Fixed scoop link
* Capped the character limit to 80
* Declare *.npz *.wav *.png as binary (#1560)
* Revert "Capped the character limit to 80"
This reverts commit c7e57faea5.
* Capped the character limit to 80 again
* Made it small r
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* Added Docstrings
* Added Examples
* Added references
* Added Typings
* Added Adominations
* Made some more changes for docs to work
* Fixed spelling mistake
* finish draft implementation
* use @wrapss to remove docs problems
* reduce complexity and add doc deprecation
* Docs deprecated_params
* add decoratos to __init__
* Add decorators to documentation
* Finish detailed docs
* Apply suggestions from code review
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* change since/until/message param docs
* Mark get_callable_info and deprecation_text_component as private
* change how until is included in warning messages
* Add The to parameter descriptions
* make params docs more readable
* make redirections docs clearer
* update dependency list
* order dependencies
* update examples
* fix dependency problem
* fix duplicate problem
* change decorator version
* updated lock file
* enhance function / method separation
* fix typo and double underscores
* rename message_ and replacement_
* Change warning to custom admonition
* remove [] as default parameters
* Remove "" around type
* fix bug and move to inspect
* doc string => docstring
* rename to deprecate
* change module docstring
* change to deprecation.py
* remove tests again
* Rename decorators.py to deprecate.py
* Update poetry.lock
* Test if deprecated class outputs the correct warning when used
* Rename deprecate to deprecation
* Shorten conditional for msg, since, util
* Specify decorator arguments in test
* Add tests for since and until as arguments
* Add test for msg argument for class
* Add test for replacement argument for class
* Remove unneeded docstring in deprecated class
* Add test for deprecate method, no args
* Update docstring examples, move deprecated method outside class
* Add test for method in class, since and message args
* Add test for deprecating nested class
* Add test for deprecated method in nested class
* Test deprecation of nested function
* Test param deprecation, only params argument
* Test deprecation of single method param
* Rename single param test method name
* Fix deprecated_params docstring whitespace
* Test parameter redirection using tuple
* Update warning msgs in deprecated_params docstring
* Test parameter redirection using lambda function
* Test param redirection from many to one
* Test param redirection from one to many
* Update Top.foo to deprecate with message
* FadeIn & FadeOut overhaul and deprecations
* Adjust examples
* Add docs
* Add simple example
* handle empty docstrings
* Update poetry.lock
* Deprecate ShowCreation using decorator to test the docs
* Test docstrings
* add examples
* Update example_scenes/basic.py
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Ricky Chon <rickychon99@gmail.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
* Added a new image
* Updated the example and deleted the static image.
* Update rate_functions.py
* Update rate_functions.py
* Apply suggestions from code review
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
* fix BulletedList alignment problem
* add typing for get_module
* flippin black
* ahh black stupidly showing only one file error in the action logs.... as usual
* fix -s issue
* fix -a path issue
* Revert "fix -a path issue"
This reverts commit 44b0cc1433. Already
fixed in ManimCommunity#1134
* remove remnant of ManimCommunity/manim#1120
* Revert 675324a
* Remove extraneous whitespace
How did this slip in here again..? Anyways, done to bring local fork in line with upstream.
* Make FILE a required argument
* add scoop installation docs
* test
* revert test changes
* finish draft implementation
* use @wrapss to remove docs problems
* reduce complexity and add doc deprecation
* Docs deprecated_params
* add decoratos to __init__
* Add decorators to documentation
* Finish detailed docs
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* change since/until/message param docs
* Mark get_callable_info and deprecation_text_component as private
* change how until is included in warning messages
* Add The to prameter descriptions
* is deprecated => has been deprecated
* Fix typo
* fix typo
* make params docs more readable
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* make redirections docs clearer
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix typo
* fix typo
* fix typo
* is_are => has_have_been
* fix typo
(at this point I am questioning my ability to type prameter)
* update deprendency list
* order dependencies
* update examples
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix dependeny problem
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix duplicate problem
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change decorator version
* updated lock file
* enhance function / method separation
* fix typo and double underscores
* rename message_ and replacement_
* Change warning to custom admonition
* remove [] as default parameters
* Remove "" around type
* fix typo
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix bug and move to inspect
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* doc string => docstring
* rename to deprecate
* change module docstring
* change to deprecation.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* some sugesstions
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove tests again
* Rename decorators.py to deprecate.py
* Update poetry.lock
* Test if deprecated class outputs the correct warning when used
* Rename deprecate to deprecation
* Fix typos
* Shorten conditional for msg
* Shorten conditional for since
* Shorten conditional for until
* Specify decorator arguments in test
* Add tests for since and until arguments
* Add test for since and until as arguments
* Add test for msg argument for class
* Add test for replacement argument for class
* Remove unneeded docstring in deprecated class
* Add test for deprecate method, no args
* Update docstring examples, move deprecated method outside class
* Add test for method in class, since and message args
* Add test for deprecating nested class
* Add test for deprecated method in nested class
* Test deprecation of nested function
* Test param deprecation, only params argument
* Test deprecation of single method param
* Rename single param test method name
* Fix deprecated_params docstring whitespace
* Test parameter redirection using tuple
* Update warning msgs in deprecated_params docstring
* Test parameter redirection using lambda function
* Test param redirection from many to one
* Test param redirection from one to many
* Update Top.foo to deprecate with message
* handle empty docstrings
* fix typo
* Update poetry.lock
* Update poetry.lock
* Deprecate ShowCreation using decorator to test the docs
* Test docstring for deprecated class
* Test docstring for Bar and Baz classes
* Test docstrings for the rest of the classes
* Test docstrings for Top methods
* Test docstrings for Top.Nested
* Test docstring for nested method
* Move deprecations to deprecation system
* Some more deprecations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix version numbering inconsistancies
* Fix naming issue and MetaClass handling
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* restart CI
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Ricky Chon <rickychon99@gmail.com>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
* test
* revert test changes
* first logging changes
* fix unrelated typo
* change to logging
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Save logs to csv file for later reading it
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix makefile issues
* remove unnecessary comments
* clean up manim_directive
* fix local var bug
* Show log only if examples have been rendered
* Move controll from makefile to sphinx events
* remove added blank line
* remove rendering_summary file
* fix slight regex problem
* comment out code in question
* change encoding
* re-add code
* switch to build-finished event
* fix indentation bug
* use csv module
* Update manim/mobject/mobject.py
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Update manim/mobject/mobject.py
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Use Pathlib
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
* test
* revert test changes
* add inheritance map
* Configure Graph to fit dark theme
* Add inheritance graphs to each section in reference
* Responsive color scheme
* remove unnecessary comment
* remove more stuff from testing
* and more still
* Update docs/source/_static/responsiveSvg.js
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Add graphviz explanation to docs
* add background color fix for chrome
* Add subheadings
* Chnaged Headings to singular and bold
Apply suggestions from code review
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
* version bump
* add generated changelog
* changelog script: fix type of additional PRs
* update autogenerated changelog
* add releases category
* a bit more copyediting
* rewrite author logic
* regenerate changelog
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* regenerate changelog
* merge logic for authors/reviewers and label sorting (fewer GH requests!)
* regenerate changelog
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix some formatting and add more references
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* First draft at fixing CLI bugs
Fixed output_file option
Removed -h help flag from manim/manim render
* Updated play logic test to use format = png
* Added suggestions, fixed test cases
* Revert file
* Fix?
* Append format to end of config_code
* Update manim/cli/render/render_options.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Add format to default.cfg
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* add citation to README
* improvements to cite section in README
* add comment on referencing / citing manim to documentation landing page
* remove stray paragraph
* separator between manim and mathematical animation framework
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Rudimentary polyhedra class
* Move to own file + more polyhedra
* Icosahedron
* More polyhedra and renaming to singular form
* Changes
* Revert changes to graph
* Fix put_start_and_end_on and attempt to add updaters
* Update polyhedra.py
* Try to fix updaters
* Fix attempts
* more attempts
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* More attempts
* I got it to work
* side_length -> edge_length, start doc string
* More docs
* edge_length type hint and **kwargs
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Docs title
* Config, docs
* Submobject docs
* Basic examples for the platonic solids
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Tests, black, rm personal test file
* Make pytest work properly
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Try to fix formatting
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Adding information about polyhedra
* Rm unused imports
* Actually finish the comment
* Apply suggestions from code review
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Type hints for edge_length
* change faces_list type hint
* More typehints
* More typehints
* get_edges return type
* Type hint
* Replace Union[float, int] with float
* Fix typehints and attempt to fix tests
* Import dict from typehints
* Try to fix tests
* Fix typehint for mobject
* Conditional import and vgroup type hint
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Import type_checking
* Retrigger
* Update manim/mobject/polyhedra.py
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kilacoda <65204531+kilacoda@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
* more docs
* more docs
* refining
* comma fix
* refine further
* typo
* typo
* refine
* Update docs/source/contributing/documentation.rst
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Update docs/source/contributing/documentation.rst
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* applied suggestions
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* added quick reference to docs
* example
* added example for valtracker
* expl
* Update manim/mobject/value_tracker.py
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Update index.rst
* refining
* refine
* refine
* Update manim/mobject/geometry.py
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* added tutorial chapter on mobject
* Update docs/source/tutorials/building_blocks.rst
* added transform example and updated position example
* extra line
* Apply suggestions from code review
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Update docs/source/tutorials/building_blocks.rst
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Notify user if local version is outdated
Running the `manim` command will display the version number as green
if it is the latest detected on GitHub. Otherwise, display the version
number as red and let the user know that a newer version is available.
* Black formatting
* Add requests dependency
* Switch to PyPi API since it's not ratelimited
* Add CLI option for notifying local outdated build
Manim will notify user if local installation is outdated, after
rendering. This feature is enabled by default, but could be turned off
in config.
* Update notify_outdated_version instructions
* Please the flake
* Add documentation to configuration.rst
* Update poetry.lock
* Update option punctuation
* No need to inform users if they're up to date
* Move variable to within method
* Remove unused import
* Update dependencies
* Update outdated version message
* Run isort
* Fix typo
* Set `--notify_outdated_version` default to `None`
Flag value by default is None so config file will determine the value.
If flag is used then value is True.
* Convert CLRF to Unix newline LF (cleaner diffs)
* Remove argument check for outdated version
Too verbose, value should be configured via config
* Handle requests exceptions
* Update manim/cli/render/commands.py
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Use f-strings for logger warnings
* Update poetry.lock
* Update manim/cli/render/commands.py
Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>
* Update manim/cli/render/commands.py
Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>
* Move print statements within try block
* Except JSONDecodeError only
* Update manim/cli/render/commands.py
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Update manim/cli/render/commands.py
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Don't raise exceptions, log in debug
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* prototype: switch from guzzle-sphinx-theme to furo
* try workaround for displaying navbar elements
* more specific css targeting
* further color adjustments
* manim-example block: larger font size
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove unused import
* increase font size for references
* fix hover colors
* html_title with explicit version
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* Display image instead if attempting to make movie file with no animations
* update
* logging warnings added
* small fixes
* Fix broken test, add suggestions
* ignore skipping if scene finished
* fixes + replace self.play(Anim.. with self.add()
* dummy commit
* explicitly set write_to_movie in manim_directive
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>