Commit graph

549 commits

Author SHA1 Message Date
Benjamin Hackl
8e6a4c48ac
Prepared bugfix release v0.15.1 (#2596)
* bumped version number, generated changelog (first pass)

* included release PR

* generate changlog, second pass

* regenerated changelog, final pass

* update translation strings
2022-03-08 23:09:37 +01:00
Benjamin Hackl
a8de354101
Reduced the number of warnings during documentation build (#2603)
* use :pr: directive in changelog script

* change hardcoded links to PRs + issues to extlinks

* adapt extlink formatting

* fixed warning about bullet list

* improved formatting of an admonition, tried to fix section not expected (unsuccessful)
2022-03-08 12:23:27 +08:00
Benjamin Hackl
e147a9fc6c
Prepared new release, `v0.15.0` (#2547)
* bump version number

* update docs, citation, citation template

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

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

* removed dependabot from contributor list

* generated changelog, second pass

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

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

* generated changelog, third pass

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

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

* generated changelog, fourth pass

* regenerated changelog, fifth pass

* fixed minor issues in generated changelog

* updated translations

* added one final PR to the release

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-26 21:26:45 +01:00
ad_chaos
9e19f8c2d1
Refactored docstrings in mod:manim.mobject.geometry (#2560)
* Refactored docstrings in manim.mobject.geometry.arc

* Ignore opengl docs as it causes build failure

* Refactored docstrings in manim.mobject.geometry.boolean_ops

* Refactored docstrings in manim.mobject.geometry.line

* Removed unnecessary new lines

* point cannot be None.

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

* Revert "Ignore opengl docs as it causes build failure"

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2022-02-25 19:13:05 +00:00
Benjamin Hackl
62df4cc984
Moved :mod:.value_tracker back inside :mod:.mobject (#2573)
* moved value_tracker back to mobject

* updated value_tracker module docstring

* fixed references to value_tracker

* [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>
2022-02-25 19:05:22 +00:00
Laith Bahodi
e040bcacd3
Improved structure of the :mod:.mobject module (#2476)
* group graphing and update its references

* group text and update its references

* group opengl and update its references

* group three_d and update its references

* group geometry and update (most) references

* move some chaning.py + updater files  into animation

* refactor arc.py

* refactor line.py

* refactor polygram.py

* refactor tips.py

* black + isort

* import new files in __init__.py

* refactor places where geometry was used

* black + isort again

* remove unused imports

* update reference.rst

* add descriptions to files

* fix circular imports

* forgot ArrowTip

* fix tests

* fix doctests

* satisfy mypy?

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

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

* fix ALL merge conflicts

* [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

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

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

* one VMobject import slipped through

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

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

* re-add imports to `manim/opengl/__init__.py`

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

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

* fix reference manual

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

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

* ignore unknown directive type

* fix arrow tip imports in docstrings

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>
2022-02-24 09:29:28 +01:00
Darylgolden
f5b6e00a6e
Added a page for internals which links to our Github wiki (#2549)
* Link to wiki

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

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

* link in sidebar

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-19 15:48:18 +00:00
Darylgolden
859c1793f6
Added guide on profiling and improving performance (#2517)
* Guide on performance

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

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

* Update docs/source/contributing/performance.rst

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

* Try to get code block to render

* Update docs/source/contributing/performance.rst

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

* try fix

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>
2022-02-03 07:12:02 +08:00
Laith Bahodi
962c24684a
Added documentation for index_labels. (#2465)
* add example to index_labels

* add to reference_manual

* add to using_text tutorial

* add to using_text tutorial pt_2

* fix some formatting in the rest of the tutorial

* actually add examples + parameters

* make index_labels not bad

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

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

* add r-string to beginning of doc

* fix indentation?

* don't try to be clever : fix docs

* 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>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2022-01-30 14:49:10 +00:00
Kiran-Raj-Dev
e577bb6957
Updated minimal latex installation instructions (#2495)
* updated minimal latex installation instructions

* [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>
2022-01-30 14:41:12 +00:00
Darylgolden
7efa2066ac
Removed unused imports (#2503)
* Remove unused imports

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

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

* Removed non pytest imports from tests

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

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

* Remove unused pytest imports

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

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

* re-added removed pass statements

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>
2022-01-30 14:31:45 +00:00
Darylgolden
3add3c21a9
Add note about contributions during refactor period (#2500)
* Note about contributions

* md link

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

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

* Fix typo

* improve phrasing

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-30 14:23:28 +00:00
Benjamin Hackl
a2b21df42b
Updated Python version requirement in installation guide (#2482) 2022-01-23 21:48:37 +05:30
GameDungeon
daf23c9d10
Upgraded typehints (#2429)
* Future Annotations

* Delete template_twitter_post.py

* [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

* Apply suggestions from code review

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

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

* Fixed broken RTD

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-20 12:26:21 +08:00
Laith Bahodi
902e7eb4f0
Hide more private methods from the docs. (#2468)
* hide privs from text_mobject.py

* hide privs from tex_mobject.py

* hide privs from code_mobject.py

* hide privs from svg_mobject.py

* remove SVGPath and utils from __init__.py

* don't import string_to_numbers

* hide privs from geometry.py

* hide privs from matrix.py

* hide privs from numbers.py

* hide privs from three_dimensions.py

* forgot underscore under set_stroke_width_from_length

* there were more i missed

* unhidea method that was used in docs

* forgot other text2hash

* remove svg_path from docs
2022-01-19 05:33:46 -05:00
vmoros
2a6cda2f8b
Fixed a typo in the documentation for plugins (#2466)
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2022-01-16 20:14:51 -05:00
Laith Bahodi
00f0134027
Update Dependencies for Python3.10 (#2376)
* Update python dependency

* Update python version in the docs

* add python 3.10 to workflow

* use quotes for python version

* small mistake

* added cleo dependency

* added tomlkit

* using new installer for poetry

* updated path

* Update ci.yml

* changed path update

* added poetry to path, EVERYWHERE

* using pip now

* adding to path...again

* adding to path everywhere again

* fixed path, fingers crossed

* path only for macos

* bashrc?

* test path

* githbu path?

* github path, this time?

* updated grpcio; substituted * notation

* pre-commit update

* updated psutil

* importlib-metadata only for Python 3.7

Co-authored-by: Naveen M K <naveen521kk@gmail.com>

* remove pygments doubling

* added psutil-wheels

* removed psutil

* Update pyproject.toml

Co-authored-by: Marcin Serwin <marcin.serwin0@protonmail.com>

* ran poetry update

* Update pyproject.toml

Co-authored-by: Marcin Serwin <marcin.serwin0@protonmail.com>

* poetry upadated

* updated mypy version

Co-authored-by: Christopher Besch <christopher.besch@gmx.de>
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
Co-authored-by: Marcin Serwin <marcin.serwin0@protonmail.com>
2022-01-11 16:17:55 +05:30
AnonymoZ
6a636ff04a
Fixed typo and improved example in building blocks tutorial (#2436)
* Typo plus a code redundancy

Sqaure → Square;  ln 231: self.add(square) [removed]

* [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>
2022-01-08 07:09:31 +08:00
Benjamin Hackl
1e496579f6
Prepare new release, `v0.14.0` (#2411)
* bump version number

* changelog generation, first pass

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

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

* changelog generation, second pass

* changelog generation, third pass

* update i18n

* removed reference to deleted module

* changelog generation, fourth pass

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-07 19:39:55 +01:00
Darylgolden
ccfea0ff4a
Made improvements to the :doc:configuration tutorial (#2414)
* Attempt to use CI to update translations

* try again

* runs on ubuntu latest

* Try to fix

* again

* try to use PR branch

* that didn't work

* will this work?

* Revert "will this work?"

This reverts commit 1e6543a77f.

* Try a different action

* fix attempt

* another attempt

* Revert "another attempt"

This reverts commit 8965000ac3.

* try again

* automatically generate list of all flags

* remove unrelated change

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

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

* specify dep

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

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

* Update tutorial

Move CLI stuff to the top since it's the most important, slight rewrite, some copyediting

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

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

* slight rephrasing

* make underline long enough

* Revert "Merge branch 'main' into command-output"

This reverts commit e6a9d457d3, reversing
changes made to 3f0137a690.

* Revert "Revert "Merge branch 'main' into command-output""

This reverts commit c823c6eb8f.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-06 14:31:22 +08:00
Matt Gleich
b4c5fa5556
docs: switch to mactex-no-gui from mactex (#2423)
Signed-off-by: Matt Gleich <git@mattglei.ch>
2022-01-05 09:04:05 +01:00
GameDungeon
c4217731e0
Added MyPy Support (#1972)
* MyPy Support

* MyPy Hook

* Removing MyPy Hook

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

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

* Delete __init__.pyi

* Delete color.pyi

* Update .mypy.ini

Co-authored-by: Christopher Besch <christopher.besch@gmx.de>

* changes

* quick fix

* MyPy Hook

* MyPy Hook

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christopher Besch <christopher.besch@gmx.de>
2022-01-03 19:41:07 +08:00
GameDungeon
f993ee02ea
Fixed Flake8 (#2410)
* Auto Type

* Revert "Auto Type"

This reverts commit a458905369.

* Fixed Flake
2022-01-01 07:59:28 +08:00
Naveen M K
9f8a2cfded
docs: add localized with Crowdin badge (#2352)
* docs: add localized with Crowdin badge

* centered crowdin logo + added target link

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-12-31 07:47:26 +00:00
Kian Kasad
86c9f69ad3
Add 'collection-basic' to list of required LaTeX packages on Linux (#2371)
This adds 'collection-basic' to the list of LaTeX packages on the Linux
installatioon documentation page:
docs/source/installation/linux.rst

Several packages provided by 'collection-basic' are required for Manim
to function, so the whole collection is specified rather than finding
the specific packages.
2021-12-31 01:29:01 +00:00
Steven nguyen
be6c35f8a6
Correct comments (#2385)
I'm just starting out but it seems like only the square is being shown

Also random space added
2021-12-22 23:11:47 +00:00
Jan-Hendrik Müller
c530f39a76
Added note in Internationalization (#2368)
* added important note

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

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

* Update docs/source/contributing/internationalization.rst

Co-authored-by: Christopher Besch <christopher.besch@gmx.de>

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

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

* Update docs/source/contributing/internationalization.rst

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christopher Besch <christopher.besch@gmx.de>
2021-12-15 10:33:05 +01:00
Benjamin Hackl
ef6f219d2f
Prepared bugfix release `v0.13.1` (#2364)
* bump version number, generate changelog

* include bugfix release PR in changelog

* [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>
2021-12-05 00:20:45 +01:00
Benjamin Hackl
537ecc9678
Prepare new release: `v0.13.0` (#2353)
* bump version number

* something in our changelog script broke?

* generated changelog, first pass

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

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

* exclude Crowdin updates from changelog

* changelog generation, second pass

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

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

* changelog generation, third pass

* generated changelog, fourth pass

* changelog generation, fifth pass

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-04 14:48:25 +01:00
Ricky
34f01346b8
Mention installation of manim sideview extension (#2350)
* Mention manim sideview extension 

updates:
    - added a brief notice for installing manim sideview

* segregate mention into a different section

* added a new section called Editors
* moved the mention into the section

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

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

* change repetition of extension to pronoun

* word change

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

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

* Update docs/source/installation.rst

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

* Update docs/source/installation.rst

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>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-12-03 20:59:44 +00:00
Benjamin Hackl
044dcad53f
Made frames_comparsion testing utility a proper module of the library (#2346)
* make frame_comparison a part of the library

* update frames_comparison imports; move control data

* change import in documentation

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

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

* properly split up boolean_ops tests

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

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

* added __init__ to utils.testing

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-03 21:18:18 +01:00
Benjamin Hackl
dfac7a7b29
Moved `manim_directive.py to manim.utils.docbuild` (#2347)
* moved manim_directive to manim.utils

* fix dot not defined

* missed a thing for the import

* f-strings apparently display with single quotes?
2021-12-02 17:09:02 +00:00
Marcin Serwin
0757579460
Add documentation for growing animations (#2340)
* Make point_color a positional argument in all growing animations

* Replace arc path in SpinInFromNothing with spiral path

* Add docstring to growing animations

* Fix errors reported by sphinx

* Update tests

Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-12-02 13:48:38 +00:00
ask09ok
ddb0395b79
Edited and added new sections to the quickstart tutorial (#2216)
* docs: edits and new sections for quickstart tutorial

* docs: fixed formatting for the magic command link, small misc formatting fixes

* docs: fixing formatting.

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* Update docs/source/tutorials/quickstart.rst

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

* docs: Adding suggested review changes, additional sections explaining .animate

* docs: eliminating excess asterisks

* docs: fixing double backspace formatting for inline elements

* docs: fixing one formatting error

Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-11-30 13:47:58 +08:00
mostlyaman
d33650a958
Fixed mistakes in building_blocks (#2230)
* Fixed mistakes in building_blocks

* applied suggestion

Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-11-27 14:55:32 +00:00
Laith Bahodi
45e8b10fd9
Remove deprecations up to v0.12.0 (#2331)
* remove deprecs from threedcamera

* remove deprecs from changing.py

* remove deprecs from mobject.py

* remove some deprecs from opengl_mobject.py

* remove sample_space files

* remove deprecs from three_d_scene.py

* remove deprecs from geometry.py

* remove deprecs from opengl_geometry.py

* remove deprecs from vmob.py

* remove deprecs from opengl_vmob.py

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

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

* remove all traces of deleted Scenes

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-27 19:40:24 +08:00
Mysaa
95d30d2d4f
Finalized translation process and documentation (#2313)
* Changing the folder name for translations.

* Updated original translation files.

* Update Crowdin configuration file

* Added a first draft of the new internationalization file.

* Revert "Update Crowdin configuration file"

This reverts commit aa996ea032.

* Revert "Updated original translation files."

This reverts commit d8a940ad98.

* Revert "Changing the folder name for translations."

This reverts commit 1065c18d57.

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

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

* Rewrite guidelines

Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-24 05:07:18 +08:00
Lucas Ricci
18a0ef504b
Clarified that Manim does not support Python 3.10 yet in the documentation (#2310)
* warn that manim doesn't support python 3.10 yet added

* warning that manim does not support python 3.10 yet, was added

* changed the warning to a separate paragraph and rephrased it

* a few typo corrections, I also changed the other files that were was saying that manim supports python 3.7+, when actually is just 3.7-3.9

* Changed normal hyphens (-) to en dashes (–), and remove a space before and after a dash.
2021-11-20 15:56:19 +08:00
Laith Bahodi
7d47e830b5
Made index.html more concise and rearranged order of tutorials (#2294)
* trim index and rearrange tutorial section

* [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: Darylgolden <darylgolden@gmail.com>
2021-11-18 12:18:29 +00:00
Benjamin Hackl
630abb1d13
Prepared new release `v0.12.0` (#2247)
* bump version number

* generated changelog, first pass

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

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

* changelog, second pass

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

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

* regenerate changelog, third pass

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

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

* regenerate changelog, fourth pass

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

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

* minor improvements

* regenerated changelog, fifth pass

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-02 11:55:43 +01:00
Christopher Besch
3a8b8625c7
Added `skip_animations argument to :meth:.Scene.next_section` (#2236)
* fix: removed partial_movie_files

* added documentation

* tests broken; nothing changed?

* tests still fail

* now respecting original skip animations flag

* added basic docs

* added forgotten test

* added skip animations test

* tests broken; nothing changed?

* tests still fail

* now respecting original skip animations flag

* added basic docs

* added forgotten test

* added skip animations test

* fixed some issues

Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
2021-11-01 08:44:41 +01:00
icedcoffeeee
c8746369e6
Renamed get_graph (and the like) to plot (#2187)
* rename to plot and deprecate old methods

* tests

* documentation

* accidental change

* updated deprecation period

* deprecate method

* updated docs examples

* update docs example

* more renaming

* more replacements

Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-10-31 09:55:34 +00:00
Naveen M K
221906a3a4
Add a new example about Boolean Operation (#2228)
* docs: add a new example about bool ops

* [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>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-10-31 10:49:35 +01:00
Arcstur
28c61c01ab
Update using_text.rst (#2239)
Removed 'r' from the regular string.
2021-10-30 08:09:08 +08:00
Laith Bahodi
5397d38e10
Implement logarithmic scaling for :class:~.NumberLine/:class:~.Axes (#1812)
* scaling, add differnt scalings, adjust to use x_range, adjust line movement to make it applicable

* kind of ugly solution to make coords_to_point do less pointless calculations

* refactoring and add_labels

* numberplane fix

* make functions scaling-compatible

* decimal_number scaling for the units

* docs for axes

* minor docs changes

* Pre-PR cleaning

* missing bug

* typo

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

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

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

* remove redundant add_labels

* move import out of TYPE_CHECKING

* add scale to init.py

* missing underscores

* fix broken test

* fix numberplane line generation for log

* add scale.py to the docs and replace dict outout for custom_labels with a list

* add explanation and default for exclude_origin_tick

* custom labels using .add_coordinates()

* add test, valueerror warning and docs

* add .npz file and adjust docs

* add numberplane log test

* quick docs for ParametricFunction

* add extra condition because None becomes LinearBase too

* flip x and y

* add exclude_origin_tick business for z_axis

* adjust threed test

* improve docs for number line.

* add more docs

* more docs for number line

* pre-merge docs improvements

* fix return types

* attempt to fix weird formatting

* fix questionable doc choice

* l1 != li

* correct the index for 6

* correct the index for 6

Co-authored-by: Darylgolden <darylgolden@gmail.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-10-29 13:05:31 -04:00
Christopher Besch
8b9e802706
Removed Extraneous Dots in :class:.Section Documentation (#2217)
* fix: removed partial_movie_files

* Removed Extraneous Dots

* added documentation

* added link to docu
2021-10-22 10:59:57 +00:00
Christopher Besch
7d76cd459d
Fixed Documentation for Sections (#2212)
* feat: added section class

* fix: fixed imports in scene.py

* feat: added section class

* fix: fixed imports in scene.py

* feat: scene file writer update; needs testing

* broken test

* fixed wrong partial movie files

* feat: added animation concatenation for sections

* fix: sections can contains None as partial movie file

* fix: correct section output file names

* fix: removed media folder

* feat: section output able to extract type

* feat: added guarantee_existence tests

* fix: touch file on windows

* fix: touch file on windows

* feat: automatically create control data with --set_test flag

* feat: added tests for sections output folder

* feat: added flag to enable sections

* feat: testing section metadata file

* feat: finished metadata tests; changed enums to be extendable

* fix: removed testing files

* fix: fixed section types

* fix: fixed outdated control data

* fix: fixed simple_scenes.py

* fix: fixed section type documentation example

* feat: added section video metadata to API

* fix: isort should stop destroying the import order for commands.py

* fix: fixed types of section metadata output

* fix: better comments

* ?

* feat: added elaborate test; switched name and type in next_section call

* feat: changed testing terminology: "config" got renamed to "movie metadata"

* fix: removed unicode lambda :<

* fix: fixed control data

* fix: removed test setter

* feat: added tutorial in the documentation

* fix: updated test control data

* fix: fixed double '.' in video tests

* fix: fixed some documentation

* fix: fixed missign JSON file in docs

* fix: implemented proposed changes

* fix: better --save_sections help

* fix: better docstrings

* fix: fixed last docstring...hopefully :>

* feat: custom section output supported

* fix: removed resolved todos

* fix: added debug for movie concatenation back

* fix: removed implemented TODO

* fix: removed doubled log

* fix: changed debug to info log

* fix: fixed log test data

* fix: fixed documentation --save_sections
2021-10-20 11:35:09 +02:00
Christopher Besch
3ce4c133dd
Introduced API for scene sections via :meth:.Scene.next_section (#2152)
* feat: added section class

* fix: fixed imports in scene.py

* feat: added section class

* fix: fixed imports in scene.py

* feat: scene file writer update; needs testing

* broken test

* fixed wrong partial movie files

* feat: added animation concatenation for sections

* fix: sections can contains None as partial movie file

* fix: correct section output file names

* fix: removed media folder

* feat: section output able to extract type

* feat: added guarantee_existence tests

* fix: touch file on windows

* fix: touch file on windows

* feat: automatically create control data with --set_test flag

* feat: added tests for sections output folder

* feat: added flag to enable sections

* feat: testing section metadata file

* feat: finished metadata tests; changed enums to be extendable

* fix: removed testing files

* fix: fixed section types

* fix: fixed outdated control data

* fix: fixed simple_scenes.py

* fix: fixed section type documentation example

* feat: added section video metadata to API

* fix: isort should stop destroying the import order for commands.py

* fix: fixed types of section metadata output

* fix: better comments

* ?

* feat: added elaborate test; switched name and type in next_section call

* feat: changed testing terminology: "config" got renamed to "movie metadata"

* fix: removed unicode lambda :<

* fix: fixed control data

* fix: removed test setter

* feat: added tutorial in the documentation

* fix: updated test control data

* fix: fixed double '.' in video tests

* fix: fixed some documentation

* fix: fixed missign JSON file in docs

* fix: implemented proposed changes

* fix: better --save_sections help

* fix: better docstrings

* fix: fixed last docstring...hopefully :>

* feat: custom section output supported

* fix: removed resolved todos

* fix: added debug for movie concatenation back

* fix: removed implemented TODO

* fix: removed doubled log

* fix: changed debug to info log

* fix: fixed log test data
2021-10-20 10:36:24 +02:00
Darylgolden
1cd24892e5
Added Crowdin configuration and changed source files to `.pot` format (#2165)
* Create crowdin.yml

* try fix yml

* Move files

* Revert "Move files"

This reverts commit 8d53826ae0.

* Update crowdin.yml

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

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

* Changed to locale with underscore

* Changing folder for .pot files. And removing the useless sphinx-intl part.

* Updated .gitignore and crowdin configuration to follow the directory change.

* Renaming po to pot EFFECTIVELY

* Changed the file with the new (simpler) generation. Also added better display for `make i18n`

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

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

* Change to two letters code

* Correct extension

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mysaa <samy.avrillon@ens-lyon.fr>
Co-authored-by: Mysaa <mysaa@myssian.home>
2021-10-15 11:51:09 +02:00
Anima
4ff2cbec1a
Transferred troubleshooting installation related snippets from Discord to the documentation (#2130)
* Added troubleshooting snippets from the Discord

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

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

* Fixed linting errors

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

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

* Fixed formatting issues

* Update docs/source/installation/troubleshooting.rst

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

* Added requested changes

* added reference to the stack exchange post

* fixed link displaying incorrectly

* Mentioned which aliases caused the issue

* Update docs/source/installation/troubleshooting.rst

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

* Update docs/source/installation/troubleshooting.rst

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

* Moved atributation for PATH, broke up some lines

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

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

* Removed the copied answer for PATH

* Update docs/source/installation/troubleshooting.rst

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

* Update docs/source/installation/troubleshooting.rst

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

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-10-10 04:27:03 +00:00