Commit graph

474 commits

Author SHA1 Message Date
Darylgolden
ed64149aa3
Updated installation instructions (#1807)
* Update installation section

* Indent

* Update admonition

* Update installation.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-08-02 14:12:59 +08:00
KingWampy
3ac72fed0e
Rename Tabular to Table (#1851)
Co-authored-by: WampyCakes <WampyCakes@users.noreply.github.com>
2021-08-01 21:52:56 +02:00
sahilmakhijani
ba23bc5510
Custom Animation Docs (#1739)
* Add custom animation section to docs building blocks page

* Add CountingScene Example for Custom Animation Docs

* Fix "upto" typo

* Scale DecimalNumber

* Small tweaks to Custom Animation example

* Add updater to decimal number to remain always in center in CountingScene

* Rename mob to number in CountingScene

* Add reference classes, methods and functions to Custom Animation Example

* Make the quality medium for Custom Animation Example

* Add the explaination for Custom Animation Example

* Remove rate functions reference

* Minor tweaks to Custom Animation Example

* Incorporate review changes

* Add more explaination to the logic behind calculating value

* Incorporate review changes

* Fix references

* Remove quality medium

* Add docstring to interpolate_mobject method of Animation class

* [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: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-01 08:29:21 +00:00
Hugues Devimeux
2ab04aee10
Updated docs for the test refactor (Tests PR 2/3) (#1835)
* Added docs

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

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

* Fixed typo

* Suggestions

* Apply suggestions from code review

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update docs/source/contributing/testing.rst

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Added imports

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

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

* Added explanaiton for __modue_test__

* Apply suggestions from code review

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

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

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

* add needed line

* Update docs/source/contributing/testing.rst

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-08-01 07:41:21 +00:00
Laith Bahodi
044889e742
Add window_size flag. (#1760)
* Add window_size flag

* parse window_size in utils.py

* remove from str_keys

* messy fix...
2021-08-01 01:01:02 -04:00
Oliver
9db9f7c448
New Mobject: Added :class:~.Tabular (#1677)
* Init

* Added_lines

* stuff

* more stuff

* Added Examples

* black,isort,falke8

* Added to __init__

* Bugfix

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

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

* Added to reference.rst

* Added docstrings

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

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

* Added examples

* Added Docstrings and outer Lines

* Added Docstrings

* Added Docstrings and Examples

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

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

* Bugfix

* Removed Dummy-Mobject

* black/isort/flake8

* Special create function

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

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

* Minor bugfix

* create() and docs

* Improved Docstrings

* Improved docstring

* -

* Bugfix in docs

* Added ability to grab specific elements

* Added ability to grab specific labels

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

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

* Fixed f- string ValueError

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

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

* bug-fix

* Improved Docstrings

* Added type hints

* bug fix

* improved typehints

* Improved Docstrings

* Added docstrings

* Added example for background

* Improved Docstrings and type hints

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

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

* black

* Improved Docstrings

* bug fix

* codespell

* Highlight cells

* codespell

* Improved Examples

* Added graphical tests

* black/isort/flake8

* Changed test

* Testing the tests

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

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

* minor changes

* minor changes

* opengl-compatibility

adjusted `OpenGLMobject`'s arrange in grid and added imports

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

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

* get_highlighted_cell to add_highlighted_cell

* added test

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

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

* removed one test

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

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

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Ideas from Hydrobeam

* Fixed Docstrings

* canged super()

* Private methods

* cleaned template, added test

* retrigger checks

* changed references.rst

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

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

* added to reference_index

* fixed test

* fixed tests

* Added docstrings

* Codespell

* spaces

* color and docs

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

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

* codespell

* add a config import

gonna do a few checks for renderer=opengl

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Hydrobeam suggestions

* Update manim/mobject/tabular.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* color to background

* typos

* added color parameter to method

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-08-01 00:39:21 -04:00
Harivinay
70041f51ae
Fixed example in gallery to allow a two-dimensional mean (#1845)
* examples-bug-1730

* Code reformated according to the suggestions - Issue #1730
2021-08-01 03:44:55 +08:00
Kadatatlu Kishore
fbde9a145a
Update documentation for developer installation in for_dev.rst (#1842)
* Update for_dev.rst

* Update for_dev.rst

* Update for_dev.rst

* Update for_dev.rst

* Update for_dev.rst

* Update for_dev.rst

* Update for_dev.rst
2021-07-29 18:21:17 +02:00
Laith Bahodi
904696294b
switch order of scoop and choco (#1829)
Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>
2021-07-25 16:41:43 -04:00
Darylgolden
ce89fa5b04
Prevented old versions of documentation from showing in search results (#1827)
* Remove everything except stable

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

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

* Update docs/source/robots.txt

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-07-25 15:07:46 +08:00
Vinh H. Pham (Vincent)
ce7d67b109
update misleading -h flag in document (#1819) 2021-07-20 21:55:17 +08:00
Udeshya Dhungana
6602c84ff0
remove unused variables (#1813) 2021-07-19 21:27:16 +00:00
Raghav Prabhakar
8c3c7b8e6f
Add codespell in contribution docs. (#1815) 2021-07-19 17:13:55 -04:00
Benjamin Hackl
17a3c637e8
Improve sidebar structure of reference manual (#1778)
* move modules in reference manual around to have nicer sidebar structure

* use short names in page titles and sidebar

* fix broken reference

* remove some autogenerated files that shouldn't be tracked

* include module list in reference.html

Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-07-19 12:19:21 -04:00
Laith Bahodi
0cb5778693
Added :class:~.Broadcast animation. (#1719)
* add broadcast, with docs and generalized to any mobjects

* use opacity, not colour

* update docs to reflect opacity switch

* add example and add attrs

* switch some params around

* copyediting

* Apply suggestions from code review - lag_raito --> lag_ratio

Co-authored-by: Raghav Goel <kilacoda@gmail.com>

* add to docs

* Apply suggestions from code review

Co-authored-by: Abhijith Muthyala <73361366+abhi3019@users.noreply.github.com>

* fix typo in docs and use stroke opacity not overall opacity

* adjust docs and make remover work

* docs acting weird, drop quotes?

* add check for fill_opacity

* attempt at fixing the docs

* remove type hints in __new__ to make them work elsewhere?

* add comment

Co-authored-by: Raghav Goel <kilacoda@gmail.com>
Co-authored-by: Abhijith Muthyala <73361366+abhi3019@users.noreply.github.com>
2021-07-18 12:52:20 +08:00
Taektiek
5746993de4
Fixed spelling mistake (#1806)
* Fixed spelling mistake 

Fixed spelling mistake for changing the font of latex text. It used to be "tricker" but has been fixed to "trickier"

* Update docs/source/tutorials/using_text.rst

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-07-16 15:51:06 -04:00
Mohammad Al-Fetyani
13369e3ad5
Fix not being able to set some CLI flags in the configuration file (#1763)
* Default options to None

* Fix tests. transparent cannot be set in the config file

* Remove unused "png_mode" flag

* update
2021-07-09 06:33:08 -07:00
ccn
df758a2e5e
Edited the developer installation instructions to add in missing context about repository cloning (#1743)
* Add in missing context about repo cloning

* added a link to existing git instructions

* Apply suggestions from code review

Co-authored-by: Darylgolden <darylgolden@gmail.com>

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-07-07 19:29:35 +08:00
Iced-Tea3
ed8f0a530e
Changed uv min max to uv range instead for consistency (#1731)
* Changed min max to a range instead for consistency(?)

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

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

* updated the docstring

* Update three_dimensions.py

* Update three_dimensions.py

* Update three_dimensions.py

* Update examples.rst

* Update three_dimensions.py

* Added deprecation and docs

* added import, deprecation for the rest

* typo

* escapes?

* removed unnecessary deprecated_params

* Update manim/mobject/three_dimensions.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update three_dimensions.py

* Update three_dimensions.py

* Update three_dimensions.py

* Update three_dimensions.py

* opengl compatibility

* Update manim/mobject/three_dimensions.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/three_dimensions.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update manim/mobject/three_dimensions.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* accidental change

* color import be under type checking

* Update three_dimensions.py

* Update three_dimensions.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-07-06 04:36:29 -04:00
Benjamin Hackl
39d429dc54
Preparation for v0.8.0: added changelog and bumped version number (#1738)
* generating v0.8.0 changelog, first pass

* bump version number

* generate v0.8.0 changelog, 2nd pass

* regenerate v0.8.0 changelog after copyediting, third pass

* regeneration of changelog for v0.8.0, final pass

* change category of one PR
2021-07-02 16:49:51 +02:00
Laith Bahodi
32827aca73
Improve positioning and size of the OpenGL window. (#1728)
* add flags, vastly improved window positioning and size

* drop window_size flag, doesnt seem necessary

* fix weird formatting

* add error checking and full direction input for window_position

* use ValueError instead

* update docs, remove unnecssary code

* improve descriptions

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-07-02 13:09:57 +00:00
Naveen M K
efd089ea39
docs: remove reference of --plugins (#1732)
`--plugins` flag isn't implemented but it was mentioned in the
documentation. I have removed it.
2021-06-30 23:04:06 +00:00
Nikhil Garuda
9aa0de0164
Fix inheritence graph background color (#1734)
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-06-30 15:57:12 -04:00
Naveen M K
a7e492d703
Add a tutorial for using :class:~.Text and :class:Tex (#1510)
* Add a tutorial for using :class:`~.Text`

* Add gradient example

* Add disabling ligature tutorial
Move PangoMarkup to reference of MarkupText

* Add docs of using Colors, t2g and t2c
Also, fix issues issues between Color and Colour

* use save_last_frame whereever necessary

* More docs on Fonts, weights, slants

* fix docs built

* fix build

* typo

* fix build

* Try fixing the build

* Fix indent

* Fix indent

* Change class name

* Fix link

* Update examples

* Add small desc about MarkupText

* Basic LaTeX tutorials

* typo: seperately ==> separately

* add a missing `

* Update using_text.rst

* Update using_text.rst

* Update tex_mobject.py

* Update using_text.rst

* Update tex_mobject.py

* Update using_text.rst

* Update using_text.rst

* Apply suggestions from code review

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* [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: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Update docs/source/tutorials/using_text.rst

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* change title

* add ref to tutorial

* Fix small error

* Fix syntax

* Apply suggestions from code review (1st)

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* Apply suggestions from code review

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* Update docs/source/tutorials/using_text.rst

* try to get link syntax right

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
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>
2021-06-29 17:26:23 +02:00
Jason Villanueva
e9aa7d3696
Renamed instances of master to main (#1720) 2021-06-24 08:57:30 -07:00
Jason Villanueva
6f13981f23
Removed Container ABC (#1652)
* Removed Container ABC and unnecessary imports

* Remove test for container

* Remove kwargs from Scene/Mobject

* Updated NumberLine and related test

* Fix graphscene test by removing unused arg

* Fix other TypeError issues in other test cases

* Fix doctest

* Fixed usages of ParametricFunction

* Removed stale references to container

* Removed unused parameters passed to Paragraph

* Added style parameter to prevent errors from MarkupText/Text

* Remove unnecessary style parameter

* Update tests/test_number_line.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>

* Remove numberline parameters

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

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

* Update scene.py

* Remove unused font_size param

* Removed leftover font_size

* Apply suggestions from code review

Co-authored-by: friedkeenan <friedkeenan@protonmail.com>

* Readded tests for Mobjects/Scene without Container

* Applied suggestion for PointCloudMobject

* Pass path_string_config only if OpenGL

* Readds args to Paragraph, removes **config from VGroup.__init__ calls

* Fixed test_scene test case and removed added param

* Apply second pass suggestions

* Fix incorrect merge in Mobject

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
Co-authored-by: friedkeenan <friedkeenan@protonmail.com>
2021-06-24 08:13:24 -07:00
Laith Bahodi
be1e21e7e7
Improve the look of the docs. (#1594)
* the changes

* adjusted rem value

* reduce p.rubric (Example) font size

* restored code-color-backgrounds

* reduce greyness of sidebar-background, light mode

Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
2021-06-24 02:19:26 -04:00
Darigov Research
2cf1f17bb3
Update copyright year in documentation to 2020-2021 (#1710)
* 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
2021-06-19 17:23:46 +08:00
PaulCMurdoch
fb6fc7940c
Update examples.rst (#1708) 2021-06-19 02:07:29 +02:00
Iced-Tea3
a8d8c18e01
Added example to Colab installation documentation (#1659)
* Added Example to Colab Installation

* Included manim import

* Update docs/source/installation/colab.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>

Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-06-09 14:24:00 +08:00
Darylgolden
da40bfdc70
Update python requirement (#1658) 2021-06-09 12:28:44 +08:00
Jan-Hendrik Müller
02f66e518a
Tweak tutorial example (#1617)
* tweak example

* tweak example

Co-authored-by: Naveen M K <naveen@syrusdark.website>
2021-06-06 22:22:03 +05:30
Mehmet Ali Özer
054d91544e
docs: Fix tip content of command-line arguments (#1620)
manim -h is not valid, Try 'manim render --help' for help.
2021-06-04 01:23:13 -07:00
Nikhil Garuda
005adf48e5
Made the extension of the pull-requests picture lowercase. (#1610) 2021-06-01 09:09:43 -05:00
Benjamin Hackl
2753e97819
Preparation for v0.7.0: added changelog and bumped version number (#1601)
* bump version number

* 0.7.0 changelog, first pass

* v0.7.0 changelog, second pass

* v0.7.0 changelog, third pass

* v0.7.0 changelog, fourth pass

* v0.7.0 changelog, 5th pass

* v0.7.0 changelog, final pass
2021-06-01 16:00:42 +02:00
Laith Bahodi
8691284496
Update examples to use :class:Axes and deprecate :class:GraphScene (#1598)
* 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>
2021-05-31 12:17:15 +02:00
Jan-Hendrik Müller
0690508b58
New example for gallery and some docs refinements (#1415)
* 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>
2021-05-31 09:38:52 +02:00
Nikhil Garuda
05e4556381
Copyedited Documentation (#1509)
* 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>
2021-05-26 17:52:09 +08:00
Nikhil Garuda
e36618a04d
Fixed the typo for Admonitions (#1551) 2021-05-21 15:35:13 +02:00
Nikhil Garuda
6a3be2797d
Restructuring of Contribution Section (#1550)
* Added Docstrings

* Added Examples

* Added references

* Added Typings

* Added Adominations

* Made some more changes for docs to work

* Fixed spelling mistake
2021-05-21 14:13:35 +02:00
Skaft
60a775714e
Adding spell checker as a pre-commit hook (#1544)
* adding codespell precommit hook

* adding codespell config file

* fixing typos

* tweaking variable names to please codespell
2021-05-21 15:43:31 +05:30
Skaft
40bfc27dd2
Fixing broken links and other minor doc things (#1541)
* fix typos

* lowercasing note admonition

* fixing broken links

* fixing title underlines being too short
2021-05-19 05:56:32 -05:00
Anton Ballmaier
15261ea65b
Fading module enhancements (#1454)
* 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>
2021-05-15 16:23:47 +02:00
Darylgolden
2aaec7ab31
Update troubleshooting docs (#1508)
* Update troubleshooting

* link in installation docs

* change section header

* textmobject -> text and texmobject -> tex

* note

* Fix formatting

* formatting

* formatting

* section

Co-authored-by: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com>
2021-05-14 19:44:23 +05:30
Nikhil Sharma
488a177df1
Updated Discord links in the docs to point towards a standardized redirect (#1499)
* Update README.md

* updated discord links
2021-05-13 02:02:35 +02:00
Nikhil Garuda
c82f84ce7d
Update of rate_functions (#1486)
* 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>
2021-05-12 15:17:06 +02:00
Raghav Goel
7737c660ef
Added Scoop installation docs (Windows) (#1440)
* 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
2021-05-12 10:26:29 +02:00
Anton Ballmaier
71b86d5dfa
Deprecation Decorators (#1404)
* 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>
2021-05-11 08:31:55 +02:00
Anton Ballmaier
df7a2f5dfc
Build the docs - Logging (#1461)
* 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>
2021-05-09 10:56:10 +05:30
Nikhil Garuda
1746073b8c
Added entry for typestring parser check tool (#1402)
* Added typestring parser checker

* Updated some errors

* Update

* Checking if installation wokrs

* Trying again

* Updates

* Another Update

* Update pyproject.toml

* Update documentation.rst

* Update requirements.txt

* Update

* syntax highlighting should work?

* Update

* Reverted back

* Will this work?

* Update

* Still trying

* Update

* Update again

* Fixed the indentation issues

* Update

* updated code block

* Update again

* Update

* Update again with blackendocs

* Update documentation.rst

* Added skip option to doctests

* Added the link

* Update link
2021-05-06 22:26:10 -07:00