Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix changes

Syrus Darkfbcf46302f3b
diff --git a/example_scenes/manim.cfg b/example_scenes/manim.cfg
index 78ad3e99a..e195a629e 100644
--- a/example_scenes/manim.cfg
+++ b/example_scenes/manim.cfg
@@ -1,5 +1,6 @@
[log.color]
-#It is parsed by Rich Colour Parse `rich.color`
+# The colors here are parsed by rich.color , and are not related
+# to the colours defined in constants.py's COLOR_MAP
logging.keyword = magenta
logging.level.notset = dim
logging.level.debug = yellow
diff --git a/manim/utils/cfgwriter.py b/manim/utils/cfgwriter.py
index ead61a251..fb38eea79 100644
--- a/manim/utils/cfgwriter.py
+++ b/manim/utils/cfgwriter.py
@@ -63,7 +63,7 @@ def main():
console.print("Enter the Style for %s" % key + ":", style=key, end="")
temp = input()
if temp:
- while check_valid_colour(temp):
+ while not check_valid_colour(temp):
console.print(
"[red bold]Your Style is not valid. Try again.[/red bold]"
)
diff --git a/manim/utils/config_utils.py b/manim/utils/config_utils.py
index cb48cc807..8a0b78761 100644
--- a/manim/utils/config_utils.py
+++ b/manim/utils/config_utils.py
@@ -141,7 +141,7 @@ def _parse_cli(arg_list, input=True):
parser.add_argument(
"-o",
"--output_file",
- help="Specify the name of the output file, if"
+ help="Specify the name of the output file, if "
"it should be different from the scene class name",
default="",
)