number int64 1 2.09k | content stringlengths 4 45.6k | comments list |
|---|---|---|
1,900 | closed : closed | [] |
1,894 | Tikz and Circuitikz does not work anymore : I use this example:
https://www.youtube.com/watch?v=sWSmd3cujK8
**Code**:
https://github.com/sayedul79/m-anim/blob/main/colored-circuit.py
However What I get looks like this:
<img width="1234" alt="image" src="https://user-images.githubusercontent.com/1970554/2... | [
"This code uses the community version of manim. So please ask this question in their discord channel or open an issue at ManimCommunity/manim instead of here.",
"Reference: https://github.com/ManimCommunity/manim/issues/2293#issuecomment-1310786352"
] |
1,893 | closed : closed | [] |
1,892 | CoordinateSystem point_to_coords Function Not Working As Expected : ### Describe the bug
When using point_to_coords to convert scene position to axis coordinate, the wrong results are created.
**Code**:
Create an 2D axis, and run this:
```python
print(axes.point_to_coords(axes.coords_to_point(-1, -1)))
p... | [
"I believe this is fixed now."
] |
1,890 | Fix Restore : Fixes https://github.com/3b1b/manim/issues/1857 | [] |
1,889 | Bug fixes : A few simple bug fixes
- #1882
- #1878
- #1877
- #1875 | [] |
1,888 | Video work : A few simple changes during recent video development
- Added a CoordinateSystem.bind_graph_to_func method
- Allowed for adding units to NumberLine labels | [] |
1,886 | Cannot get Mobject shape area : Hi everyone. I wanted to get the area of a Circle(), but i don't know how to do that. get_area() only works for GraphScene.
```
class Test(Scene):
def construct(self):
circle = Circle()
number = DecimalNumber(0, num_decimal_places=5).move_to(np.array([-4,2.6,0]))... | [
"Now i know. You need to import this:\r\n```\r\nfrom from_3b1b.on_hold.shadow import get_area\r\nclass Test(Scene):\r\n def construct(self):\r\n circle = Circle()\r\n number = DecimalNumber(0, num_decimal_places=5).move_to(np.array([-4,2.6,0]))\r\n number.add_updater(lambda m: m.set_value(ge... |
1,882 | Color gradient function outputting only the latter color : Hello!
I'm trying to make the graph of my parametric curve run a gradient across it but when using the set_color_by_gradient() function I get 1 color across the graph. What am I doing wrong?
#
from cmath import cos
from ctypes import sizeof
from math ... | [
"It had been defaulting to coloring submobjects according to a gradient, but I've added a line to make the default behavior in cases like this equivalent to graph.set_color([color1, color2])"
] |
1,879 | Update LICENSE.md : ## Motivation
Just a small license year fix.
Source: https://softwareengineering.stackexchange.com/questions/210472/is-renewal-of-mit-license-needed-on-github-at-the-beginning-of-each-year | [] |
1,877 | "add_updater" and "Mobject.become" : ### Describe the bug
<!-- A clear and concise description of what the bug is. -->
I use "Mobject.become" function in "add_updater".
But it seems not to work!?("angle'" doesn't follow "l2")
In addition,I use the newest Manimgl on Github(v1.6.1).
WHY???????????????????????????
*... | [
"I aim to mark an angle which is movable!",
"This is because the updater is removed during mobj.become().\r\nUnder the hood, become() change mobj so that is has identical states with param mobj, including points, color attributes, and UPDATERS and so on. That is to say, when being updated for the first time, the ... |
1,876 | Unexpected Tex error: Xelatex error converting to xdv. : @TonyCrane I don't know why. I suddenly can't use tex.(business as usual before) There are two main methods on the internet: in constants.py, set `TEX_ USE_ CTEX` change to `True`; Replace `\usepackage[UTF8]{ctex}` in ctex_template.tex to the second line. But bot... | [
"I read #570, and the result is: seem to have no effect."
] |
1,875 | point_at_angle always return an error : ### Describe the error
I'm trying to animate the letters from different points on a circle to their actual place.
But I keep getting an error no matter what values I pass to the `point_at_angle` method.
```circle.point_at_angle(PI/2)``` in my code below is just for simplicity ... | [] |
1,874 | Text attribute t2c not working with slices since v1.6.0 : ### Describe the bug
The `t2c` attribute of `Text` does not work with slices. While it does work by specifying specific words.
**Code**:
```python
from manimlib import *
class Colors(Scene):
def construct(self):
one_color = Text('hello',... | [
"Hi there. In the later versions we support passing a two-tuple to specify substrings, rather than a slice-like string. This is done in order to eliminate possible ambiguity. For example, by directly replacing `\"[0:4]\"` with `(0, 4)` should make the code work."
] |
1,872 | Fixing a typo ("termnial" -> "terminal") : ## Motivation
I fixed a typo in the documentation
## Proposed changes
I fixed a single typo "termnial" in the documentation.
## Test
It is a documentation change | [
"Thanks. And you can also fix this in this pr:\r\nhttps://github.com/3b1b/manim/blob/abe52a61d9f927451a67a1c7008a670e4eb18b13/example_scenes.py#L596"
] |
1,871 | Create fourier.py : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
## Proposed changes
<!-- What you changed in those files -->
-
-
... | [] |
1,867 | mobject.py TypeError: unsupported operand type(s) for -: 'ImageMobjectFromCamera' and 'float' : I tried to use InteractiveScene and it caused this error.
(mobject1.py is mobject.py in 3b1b/manim, not manim community)
```
c:\beibi\a\manimlib\mobject\mobject1.py:1119: VisibleDeprecationWarning: Creating an ndarray fro... | [
"Please show the code and the version of manim.",
"I am using current version of 3b1b/manim but not manimcommunity.\r\ncode here:\r\n\r\n```\r\nclass InteractiveTest(InteractiveScene, Scene):\r\n def construct(self):\r\n nbp = NumberPlane()\r\n self.play(Write(nbp))\r\n```\r\n**interactive_scene.... |
1,864 | Video work : Minor tweaks while working on video animations, including:
- Remove unnecessary Camera.ctx.blend_func definition
- Fix -e cli behavior to embed in the appropriate line
- In copying mobjects, make sure named submobjects (and other family members) are handled correctly. | [] |
1,862 | Add `set_anim_args` to `.animate` method : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
With the pr of manim community, we can easily u... | [
"Now you can also pass args by calling the `animate` method, which is borrowed from manim community. The method `set_anim_args` also works. \r\n\r\n```python\r\nclass TestAnimateArgs(Scene):\r\n def construct(self) -> None:\r\n a = Circle().to_edge(LEFT)\r\n anim_builder = (\r\n a\r\n ... |
1,861 | Latex error begginer (Texmaker and MikTex) : ### Describe the error
log4cxx: No appender could be found for logger (pdflatex). log4cxx: Please initialize the log4cxx system properly. Sorry, but pdflatex did not succeed. You may want to visit the MiKTeX project page (http://miktex.org), if you need help.
Process e... | [
"Has nothing to do with manim, so closing this."
] |
1,860 | Couldn't run example code in mac os Monterey 12.3 with manim version 1.6.1 : ### Describe the error
Couldn't run example code in mac os Monterey 12.3 with manim version 1.6.1
### Code and Error
**Code**:
sudo manimgl ~/programming/python37/example_scenes.py OpeningManimExample
**Error**:
File "/usr/local/an... | [
"1. mac doesn't want you to use the directory /var, so here has to change the directories defined in manim config\r\n2. introduce latex into PATH"
] |
1,858 | Fix bug with rendering progress bar : I've noticed that if no scene names are passed to `manimgl` explicitly, then the rendering progress bar will not be shown correctly.
To showcase the bug, suppose we have a file with only one Scene class in it:
```python
# my_scene.py
def MyScene(Scene):
def construct(s... | [] |
1,857 | `Restore` animation class not functioning : The following code raises an error:
```py
mob = Circle()
mob.save_state()
mob.shift(RIGHT)
self.play(Restore(mob))
```
The error message reads `Trying to restore without having saved`. However, if `Restore(mob)` is replaced with `mob.animate.restore()`, the code work... | [] |
1,856 | LaTeX not being handled properly when MathTex mobject has single brackets in a string ("{" or "}") : ### Description
The MathTex mobject is not being written correctly by the Write method when there is a bracket alone in a string.
A part of the formula is missing or may even be displayed without animation and with so... | [
"You are using the community version of manim, so please ask this question in their discord channel, or open an issue in ManimCommunity/manim, instead of here."
] |
1,854 | [BUG]Error when using NumberPlane : Hi everyone. I'm new of manim, now i have a problem.I tried to add a numberplane in the code, but it caused error.
(My python file name: a.py)
Code here:
```
class NumberPlaneExample(Scene):
CONFIG = {
"axis_config": {
"stroke_color": WHITE,
... | [
"You are using the community version of manim, so please ask this question in their discord channel, or open an issue in ManimCommunity/manim, instead of here."
] |
1,848 | fix: can't parse<u>Boolean Operation</u> : code:
bool_ops_text = MarkupText("<u>Boolean Operation</u>").next_to(ellipse1, UP * 3)
error:
ManimGL v1.6.1
<u>
</u>
Traceback (most recent call last):
File "d:\anaconda3\envs\manim\Scripts\manimgl-script.py", line 33, in <module>
sys.exit(load_entry_point('m... | [
"Fixed in #1818 "
] |
1,845 | Is the function is_off_screen() implemented correctly? : ### Describe the bug
<!-- A clear and concise description of what the bug is. -->
The function `is_off_screen()` , which determines whether or not some `Mobject` is out of frame, is weird.
Should `get_left()` and `get_right()`, `get_bottom()` and `get_top()... | [] |
1,844 | Is the function is_off_screen() implemented correctly? : ### Describe the bug
<!-- A clear and concise description of what the bug is. -->
The function `is_off_screen()` , which determines whether or not some `Mobject` is out of frame, is weird.
Should `get_left()` and `get_right()`, `get_bottom()` and `get_top()... | [
"The goal of this method is to determine if the object is **completely** off the screen, instead of returning True whenever just a part of it is off screen."
] |
1,843 | Physics : ready to move into molecular forces | [
"I'm sorry, I meant to do this in my fork"
] |
1,840 | fixed broken link to community edition (versions) : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
## Proposed changes
<!-- What you cha... | [] |
1,836 | Program does not run : ### Describe the error
I installed Manim Manimlib modules with pip command, added FFmpeg to the windows path, installed Latex and Sox etc ...
I was passing by the documentation learning how to create a Grid, Then suddenly I got a weird message from the terminal,
I wrote this command :
" mani... | [
"Seems you are using ManimCE, but you have a ManimCairo in your pip environment, please see Manim Community's docs: docs.manim.community\r\nHave nothing to do with 3b1b/manim, so closed."
] |
1,835 | manim in VSCode cause "code unreachable" for reachable codes : ### Describe the bug
I'm a developer using VSCode and Pylance to write python codes.
But when I write manim codes in VSC, the python plugin always mark my codes as "code unreachable" and render them as transluscent, which causes trouble to me. I'm sure th... | [
"Its solved. \r\nThe problem is that the abstractmethod in `CoordinateSystem` will raise not implemented error by default, which is automatically recognized by the language analyzer and the analyzer will mark the following lines as unreachable.\r\nIt can be solved by annotating the return type of these unimplemente... |
1,830 | Error when I ran the simple script to self-write Hello Manim. : ### Describe the error
I am trying to make Manim self-write Hello Manim!
When I tried running it, it gave me an error saying Latex error converting to dvi. I am using Python 3.7.9 and am also using MikTex. Could someone please help me with this? I looked... | [
"You can change the\r\nt = TextMobject(\"Hello manim!\")\r\nto:\r\nt = Text(\"Hello manim!\")",
"Thank you yuhan2680, I just started coding, so I don't really know how to fix anything, but thank you anyways!"
] |
1,829 | manim doesn't support text tag in svg : in file manimlib/mobject/svg/svg_mobject.py line 275:
`def text_to_mobject(self, text: se.Text):
pass`
| [
"could anyone fix this? I would appreciate it",
"We haven't implemented the `<text>` tag yet, because implementing it requires many considerations. But we're trying our best to do it.\r\nIf you urgently need to use text in svg, it is recommended that you use other software to convert `<text>` tags to `<path>`",
... |
1,824 | Pip doesn't install a new enough numpy : ### Describe the bug
I ran
```
$ pip install manimgl
$ manimgl
```
and got the error
```
import numpy.typing as npt
ModuleNotFoundError: No module named 'numpy.typing'
```
### Additional context
I have numpy 1.19 and I numpy.typing requires numpy 1.20. I think... | [
"maybe the version of your python is under 3.7",
"My python is 3.9.\r\nThe problem was fixed when I force updated my numpy.\r\nI'm just saying the requirements.txt file in manim currently doesn't specify versions for any of the packages, so when people already have old versions installed they won't get updated. T... |
1,822 | always_redraw rendering only once : ### Describe the bug
Testing the `UpdatersExample` I notice that the `Brace` do not rescale following the square as in the example video.
Reading the `always_redraw` code I could notice that a brand new `mobject` are created inside the updater callback and passed down to `mob.... | [
"Hello! The code seems to work fine with this modification:\r\n```py\r\nfrom manimlib import *\r\n\r\nclass UpdatersExample(Scene):\r\n def construct(self):\r\n #Create square\r\n square = Square()\r\n square.set_fill(BLUE_E, 1)\r\n\r\n #Create label to attach to side of square\r\n ... |
1,821 | Video work : Most recent cleanups/changes/bug fixes while working on 3b1b videos. | [] |
1,820 | Add back mismatched indices : ## Motivation
Fix a bug in `TransformMatchingStrings` class.
## Proposed changes
- M `manimlib/animation/transform_matching_parts.py`: Add back mismatched indices.
| [] |
1,819 | FadeOut does not work if an updater is added to Mobject : ### Describe the bug
On manim v 15.2 Objects with an updater attached do not fade out (nor in) but disappear (or appear) suddenly.
(Un)create works properly though.
I attach a minimal example
**Code**:
from manim import *
class fadeout_error(Scene):
... | [
"I noticed that you are using the community version of manim, so please ask this question in their discord channel, or open an issue in ManimCommunity/manim instead of here."
] |
1,818 | Add `template` and `additional_preamble` parameters to `Tex` : ## Features added
### Supports self-defined tex templates and temporary addition of preambles
Sometimes users may want to temporarily use tex commands from tex packages not included in tex template files by default. So I add support for it. This is inspir... | [
"Recently the issue concerned with `<use>` tags in `SVGMobject` has been handled in the [latest version](https://github.com/meerk40t/svgelements/releases/tag/1.8.1) of `svgelements`. Issue #1760 is now fixed. So I removed the process that expands all elements referenced by `<use>`, and add the version limitation of... |
1,817 | LaTeX rendering error : # LaTeX rendering error
#### Description error
I admit that this is my third issue on this issue, but the old method has failed and there is nothing I can do about it.
I tried to modify it according to the method on https://github.com/3b1b/manim/issues/1606.I modified default_config.yml, ... | [
"Please specify `temporary_storage` in the .yml file."
] |
1,815 | Fix a logistic bug : ## Motivation
There's a logistic bug when handling `None` in spans. My apologies for that.
## Proposed changes
- M `manimlib/mobject/svg/string_mobject.py`
| [] |
1,814 | Error : When I run my code in cmd I get this error. Btw I'm a beginner and I'm following the tutorial on README
Input: manimgl examplescenes.py (in cmd)
What I get:
manimlib.utils.tex_file_writing.LatexError
Windows 11
Python: V. 3.10 | [] |
1,813 | Inconsistant text kerning when using Text Class : ### Describe the bug
It seems like reducing font size can affect the text kerning space.
**Seems not good**:
```
class Textfontcheck(Scene):
def construct(self):
obj = VGroup()
font_group = ["Consolas","Noto Sans","Times New Roman",
... | [
"This is caused by the font itself, not manim.",
"See https://github.com/ManimCommunity/manim/issues/2844 for solution"
] |
1,810 | How to solve "TypeError: 'type' object is not subscriptable"? : ### Describe the error
Emm, to be honest, I just wanted to run the example code, but failed.
### Code and Error
Here is my input: "**manimgl example_scenes.py SquareToCircle -pl**"
<!-- The code you run -->
**Error**:
(manim)
Traceback (most r... | [
"OK, this problem has been solved accidentally. But I find another problem -- my computer counldn't draw the \"x and y\" axis, I will try to fix it."
] |
1,807 | NumberPlane Grid not Showing in the Output : <!-- A clear and concise description of what the bug is. -->
I'm trying to render the **"OpeningManimExample"** Scene from example_scenes.py.
But the grid lines are missing.
**Code**:
```python
class OpeningManimExample(Scene):
def construct(self):
... | [
"See #1546."
] |
1,806 | Could anyone tell me what's wrong? : ```
~\manim>manimgl example_scenes.py OpeningManimExample
Traceback (most recent call last):
File "O:\Program Files\Python\Scripts\manimgl-script.py", line 33, in <module>
sys.exit(load_entry_point('manimgl', 'console_scripts', 'manimgl')())
File "O:\Program Files\Pytho... | [
"please check out whether you have installed `manimlib` through pip. If you have installed it, please `pip uninstall manimlib`.",
"Problem solved. Thanks"
] |
1,804 | Add necessary imports : ## Motivation
Add some missed imports
## Proposed changes
- M `manimlib/mobject/geometry.py`: import `DEGREES`, `Iterable`
- M `manimlib/mobject/probability.py`: import `numpy`
- M `manimlib/mobject/types/point_cloud_mobject.py`: import `numpy` | [
"`manimlib/scene/interactive_scene.py` needs `from __future__ import annotations`. See #1803 ",
"> `manimlib/scene/interactive_scene.py` needs `from __future__ import annotations`. See #1803\r\n\r\nJust added."
] |
1,803 | Type Error when using in cmd : ### Describe the error
after installation this type error happens
### Code and Error
**Code**:
when I use manimgl in cmd, it happens
**Error**:
<!-- The error traceback you get when run your code -->
Traceback (most recent call last):
File "D:\anaconda\envs\manim\Scripts\man... | [
"Hello, can u hear me? I want to know how did you solve this problem! Please help me.",
"#1804 fixed this. Sorry, we just lost a `from __future__ import annotations`.",
"HHHHA,OK,thanks for your reply.\r\n\r\n\r\n\r\n------------------ 原始邮件 ------------------\r\n发件人: ***@***.***>; \r\n发送时间: 2022年5月... |
1,802 | Video work : Several bug fixes and mild improvements
- Add Mobject.get_ancestors
- Simplify (or at least make less egregiously complicated) Scene.remove
- Have Scene.save_state only create copies for mobjects which have changed | [] |
1,799 | GraphExample: import numpy as np missing in functions.py : ### Describe the error
While trying to run the GraphExample from the [example scenes](https://3b1b.github.io/manim/getting_started/example_scenes.html), I got the error "NameError: name 'np' is not defined". I could fix it by adding:
`import numpy as np`
af... | [
"Fixed in https://github.com/3b1b/manim/commit/587bc4d0bd662c8ecaf369c371d35e175ffeb08e"
] |
1,797 | Video work : Slight updates to https://github.com/3b1b/manim/pull/1796 | [] |
1,796 | Improved embed, fixes to Mobject.copy : Notable changes
- Allow for more seamless GUI interactions while in the embedded IPython shell.
- Change behavior of -e flag to optionally take in a string (to match to a line of code), or no arg (to embed at the end of construct)
- Refactors/additions to InteractiveScene
-... | [] |
1,795 | Refactor StringMobject and relevant classes : ## Motivation
Refactor `StringMobject` (renamed from `LabelledString`), `MarkupText`, `MTex` classes.
## Proposed changes
- M `manimlib/mobject/svg/labelled_string.py`: Unify logic from `MarkupText`, `MTex`; remove `use_plain_tex` attributes; support a much more flexib... | [
"I notice that after refactoring `Mobject.copy` method, the `TransformMatchingStrings` animation becomes really slow, and sometimes a `RecursionError` is raised. I wonder how this happens, and how to fix it.\r\n\r\n**Code**\r\n```python\r\nkw = {\r\n \"isolate\": [\r\n \"=\",\r\n \"\\\\int_{0}^{\\\... |
1,794 | InteractiveScene, etc. : There are a fair number of changes packaged together in this update. Most notably,
- A rudimentary InteractiveScene to allow for basic GUI manipulations of mobjects, which one can then save/load from file, so that not all parts of scene development have to be done in code.
- Simplify Mobjec... | [] |
1,792 | Cannot show text in Ubuntu20.04 : # `Text` cannot show anything.
<!-- A clear and concise description of what you want to make. -->
### **Code**:
the directory is like
```
.
├── code.py
└── custom_config.yml
```
then I ran `manimgl code.py` which shown below
<!-- The code you run -->
```python
... | [
"(this was first reported here: https://github.com/ManimCommunity/ManimPango/issues/88)",
"This is my bad. Currently `Text` is using a markup tag including a `line_height` attribute to control the line spacing, which requires a higher version of Pango. You may comment out the following 3 lines of code for tempora... |
1,791 | Fix `ImageMobject` by overriding `set_color` method : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Fixes #1790.
Because `set_color` of... | [] |
1,790 | `ImageMobject` is broken after #1764 : ### Describe the bug
<!-- A clear and concise description of what the bug is. -->
After #1764 (precisely https://github.com/3b1b/manim/pull/1764/commits/8b1f0a8749d91eeda4b674ed156cbc7f8e1e48a8), `ImageMobject` is broken.
**Code**:
<!-- The code you run which reflect the bug... | [] |
1,789 | Sort imports : ## Motivation
Sort imports in alphabetical order. Expand all imports from `from manimlib.constants import *` (except `manimlib/mobject/svg/drawings`). Refactor some methods of `LabelledString` class.
## Proposed changes
- M `manimlib/mobject/utils/color.py`: Add annotations and refactor with functio... | [
"Thank you for doing this. For future reference, though, it would be helpful to have large changes like this with several qualitatively different types of updates separated out into different PRs. For example, the reordering of import lines touches many files, but in principle doesn't require much to review, wherea... |
1,788 | Interpolate fix : Separate functionality of ordinary linear interpolation from that using np.outer on arrays | [] |
1,787 | Remove unused import : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
Learning Python and Math and then found this awesome tool
## Proposed changes
Nothing but a deletion of a unused import, see image below
<kbd>... | [] |
1,786 | StreamLines Broadcast Input Error When Using ColorMap : ### Describe the bug
<!-- A clear and concise description of what the bug is. -->
There is an error when I try to render streamlines using a magnitude dependent color map with `manimgl`.
However, it renders the streamlines with a single color if I set `colo... | [
"I'm open to creating a fix if anyone can point me in the right direction...",
"Oh, that's a bug caused by https://github.com/3b1b/manim/commit/bf2d9edfe67c7e63ac0107d1d713df7ae7c3fb8f\r\n\r\nThat commit in #1764 changed the behavior of `interpolate` for `alpha` in ndarray form.\r\n\r\nSo there is a temporary fix... |
1,785 | Fix bug when handling multi-line tex : ## Motivation
There's a bug when dealing with multi-line tex. Just fixed.
## Proposed changes
- M `manimlib/animation/creation.py`: use attribute instead of calling a method
- M `manimlib/animation/transform_matching_parts.py`: clean up logic
- M `manimlib/mobject/svg/label... | [] |
1,784 | Update geometry.py : Fix a problem with Arrow which deforms the tip and line.
Before: https://thumbnail1.baidupcs.com/thumbnail/c1fd78ab7saf91293ecd75855498428f?fid=1235339601-250528-743290651475862&rt=pr&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-9k4G9B3dPJrRt%2fW1LeGwut4GnrE%3d&expires=8h&chkbd=0&chkv=0&dp-logi... | [
"Please paste the images here directly instead of using a link from baidupcs. I can't access you images.",
"\r\n / n1 * n2
```
by making the denomi... | [] |
1,780 | Add support for `substring` and `case_sensitive` parameters : ## Motivation
Add support for `substring` and `case_sensitive` parameters for `LabelledString.get_parts_by_string` method, and other relative methods as well.
## Proposed changes
- M `manimlib/mobject/svg/labelled_string.py`
- M `manimlib/mobject/svg/m... | [] |
1,779 | Refactor `LabelledString` and relevant classes : ## Motivation
Some refactors on `LabelledString` and relevant classes.
## Proposed changes
- M `manimlib/mobject/numbers.py`: Remove the cache dict, since `SVGMobject`s are already cached.
- M `manimlib/mobject/svg/labelled_string.py`: Support passing in `svg_defau... | [] |
1,778 | Remove unnecessary raise statement : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
## Proposed changes
<!-- What you changed in those f... | [] |
1,777 | Fix typo : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
## Proposed changes
<!-- What you changed in those files -->
- `manimlib/mobj... | [] |
1,772 | Construct LabelledString base class for MarkupText and MTex : ## Motivation
In previous versions, when users want to slice a `Text` mobject via a substring, the span of it is directly used to slice the mobject. The result could be unexpected due to spaces, ligatures, and fancy mobjects brought by markup tags. So I ref... | [
"Huge kudos for that :) \r\nAppreciate your contribution into such a great tool!"
] |
1,770 | Small camera/3d updates : A few minor bug fixes and addition associated with camera and 3d mobjects. | [] |
1,767 | add logic to do a rudimentary gradient fill : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Svgelements is discarding SVG gradient fill in... | [
"https://user-images.githubusercontent.com/40634339/160312137-d3a983ff-7651-4ee8-900b-dbde29e516d2.mp4",
"https://user-images.githubusercontent.com/40634339/160312177-80b3f3b4-3c72-48bc-b4ca-59a1dcdaac3b.mp4",
"https://user-images.githubusercontent.com/40634339/160312842-0c6bb27a-f158-4bc2-9813-a3ef987e1ddb.mp4... |
1,766 | Give the user feedback for SVGs that take a while : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Manim does not provide feedback to the u... | [
"I think it would be better to use something like [tqmd](https://github.com/tqdm/tqdm), which you can see imported as ProgressDisplay in [scene.py](https://github.com/3b1b/manim/blob/master/manimlib/scene/scene.py), with \"leave\" set to false.\r\n\r\nThat way, it doesn't linger in the terminal and is more consiste... |
1,765 | Adjust some typings : ## Motivation
Resolve conflicts of #1736 and #1751, and adjust some typings.
## Proposed changes
- M `docs/source/documentation/constants.rst`: remove `START_X`, `START_Y` constants
- M `manimlib/constants.py`: remove `START_X`, `START_Y` constants
- M `manimlib/mobject/svg/mtex_mobject.py... | [] |
1,764 | Video work : Various changes and bug fixes made during recent work on 3b1b videos. Most notably:
- Refactor CameraFrame to internally store its orientation using a quaternion, instead of euler angles, and use the scipy.spatial.transform.Rotation library.
- Change rotation related functions in space_ops to use the s... | [] |
1,763 | [Error] Simple brace on part of MathTex doesn't work {list index out of range} : ### Describe the error
<!-- A clear and concise description of what you want to make. -->
I do have some MathTex:
`totalPointsWithConditionThree = MathTex(r"p_{1} = matrix[i][j_{0}]", r"+ matrix[i + 1][j_{1}]", r"- |j_{1} - j_{0}|", r... | [
"Maybe, it's not related to manim side at all, but i don't know what is the reason for that!?"
] |
1,762 | Fix the width of riemann rectangles : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
Fix the width of riemann rectangles
## Proposed changes
Change the width from `x1 - x0` to `width=self.x_axis.n2p(x1)[0] - self.x_axis... | [] |
1,757 | Reorganize getters for ParametricCurve : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Sometimes a graph is initialized with ```get_graph`... | [] |
1,756 | Add getters for Parametric Curve : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Make creation of ```get_graph``` and ```parametric_curve`... | [] |
1,751 | Refactor Text with the latest manimpango : ## Motivation
The current `Text`, `MarkupText` classes are a copied version from community edition, and should run together with old manimpango versions. I heard that the community had a future development plan for manimpango, so I decided to refactor the two classes to fit t... | [] |
1,750 | not able to run 'python manage.py runserver' in django : ### Describe the error
I want to check whether the django install correctly or not but i'm not able to check
i run the command "python manage.py runserver" but shows this issues, pls help me
### Code and Error
**Code**:
##################################... | [
"Please don't ask questions unrelated to manim here."
] |
1,749 | Detailed README license : <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Allows the users to have a better understanding of the license agr... | [] |
1,748 | Specify UTF-8 encoding for tex files : ## Motivation
In some cases the encoding of `open` in python may not be UTF-8 by default. This PR simply fixes this problem.
## Proposed changes
- M `manimlib/utils/tex_file_writing.py`
| [] |
1,747 | I've installed manim, but can't get it to run the example scenes : I've installed manim, but can't get it to run the example scenes
python -m manim example_scenes.py SquareToCircle -pl
And I get the following back:
RuntimeWarning: 'manim.__main__' found in sys.modules after import of package 'manim', but prior... | [
"Could please read the document or README first before you start using manim?\r\nHow to install and how to run it are both writen in the README file, why don't you read it but ask it here?"
] |
1,746 | Change interaction-to-embed keybinding : Change the keyboard shortcut to drop into an ipython terminal embedding from interactive mode to be "ctrl + shift + e". | [] |
1,745 | Reorganize inheriting order and refactor SVGMobject : ## Motivation
Fix some potential bugs left in #1731.
## Proposed changes
- M `manimlib/mobject/svg/svg_mobject.py`: Add `svg_default` dictionary to allow users to specifically fill in style attributes to elements whose style is not specified in svg scope (and t... | [
"Nice, this feels like a much more reasonable inheritance structure."
] |
1,744 | Add text_config for DecimalNumber : Added config passing for text
<!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
<!-- Outline your motivation: In what way do your changes improve the library? -->
Give users option to ... | [] |
1,742 | Presenter mode bug fix : See the first bug of https://github.com/3b1b/manim/issues/1741#L66 | [] |
1,741 | Bugs of presenter mode and embed terminal's local variable : ### Describe the bug
<!-- A clear and concise description of what the bug is. -->
Here are two bugs from #1739 @3b1b
### Bug from https://github.com/3b1b/manim/pull/1739/commits/9a9cc8bdacb7541b7cd4a52ad705abc21f3e27fe
The first `scene.wait` won't wait... | [
"> Bug from 9a9cc8b\r\n\r\nVery right! The effect seems to be that it doesn't halt on the first wait call, then does after. Thanks for the note.\r\n\r\nTo be honest, the \"presenter\" mode was just something hastily thrown in there as I wanted to record certain intereacitons for the wordle video, so it may not have... |
1,740 | Fix Write bug : Bug fix for the case of calling Write on a null object | [] |
1,739 | Video work : Various changes and updates made during the Wordle project | [
"I noticed that you still use \"Squash and merge\" method to merge this pull request. But this is equivalent to creating a new commit in the master branch, and cannot eliminate these new commits in the video-work branch.\r\nSo every time you submit a pull request from video-work to the master branch, although the f... |
1,737 | Imports update, dict keys removal etc. : ## Motivation
- Minor edits
- Remove unnecessary imports
- Remove duplicated keys
- Add `,` for symmetry's sake (unneeded because it's `join`ed anyway but still)
- Remove `time_per_edge`
| [] |
1,736 | Add type hints according to PEP 484 and PEP 604 : Add type hints according to [PEP 484](https://www.python.org/dev/peps/pep-0484/), [PEP 526](https://www.python.org/dev/peps/pep-0526/) and [PEP 604](https://www.python.org/dev/peps/pep-0604/)
## Motivation
The motivation for this is to allow the IDE (language serv... | [
"Wait for #1745",
"I think this pull request needs more time to check, because it changes too much.\r\nSo any thoughts now? @3b1b",
"This is definitely a welcome push in the right direction. I can block out some time a bit later this week to give it a more thorough look.\r\n\r\nYou mention issues associated wit... |
1,735 | Bug in isolating MTex : ### Bug discription
When I tried to isolate `\over` in `MTex`, it disappeared.
The same bug happened when I tried to color `\over`.
**Code**:
```
class report_bug(Scene):
def construct(self):
tex = Tex(
r"{\partial {u} \over \partial t} + {u} {\partial {u} \over... | [
"See #1725 for details. Splitting out `\\over` will lead to problems..."
] |
1,733 | Installed Manim and my 3.10.1/2 started failing : ### Describe the bug
I've just got manim installed via pip on windows 10 and my Python started to raise this error:

I am aware that several people got ... | [
"`pip uninstall pyreadline`\r\n`pyreadline` is no longer maintained, so it is not compatible with python 3.9+ and this dependency is no longer needed in manim."
] |
1,732 | No attribute "get_coord" error : While using manimgl, it seems the attribute "get_coord" isn't working or there is some other issue with it
### Code and Error
**Code**:
```manimgl wordle.py```
Then I select scene 32
**Error**:
```Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy... | [
"The version Grant is using in his new video is the [`video-work`](https://github.com/3b1b/manim/tree/video-work) branch of this repo, which has not yet been merged into the `master` branch.\r\nNote that in the commit https://github.com/3b1b/manim/commit/29a4d3e82ba94c007c996b2d1d0f923941452698 in the `video-work` ... |
1,731 | Attempt to refactor SVGMobject with svgelements : ## Motivation
Try using external library `svgelements` to refactor SVGMobject.
## Proposed changes
- M `manimlib/mobject/svg/svg_mobject.py`: use `svgelements` to parse svg files
- M `manimlib/mobject/svg/tex_mobject.py`: remove `override` attribute from `init_col... | [] |
1,729 | ImportError: cannot import name 'main', from manimlib import main : ### Describe the error
<!-- A clear and concise description of what you want to make. -->
The current pip3 version of manimlib does not have get_rows() command for the Matrix mobject. I saw that this was present in the current version of the repo (M... | [
"PLEASE read the README or documentation before using!!!\nI really wonder what you are doing.\n- `pip install ...`: you install ManimGL via pip\n- `from manimlib.imports import *`: you import it like Manim-cairo-backend\n- `manim file.py ...`: you run the command of ManimCE\n\nYou've got all three versions of Manim... |
1,728 | Clean dependencies : ## Proposed changes
<!-- What you changed in those files -->
- remove `argparse` because it is a built in module
- remove `pyreadline` as it is no longer needed and does not work with python 3.9+
- add classifiers to package metadata | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.