-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Minimal tests #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal tests #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in #24, we are trying to make the LaTeX dependency be optional in the future.
Can you please change the TextMobject
to be normal text, not latex? You could also add another short scene that uses LaTeX, and in the future this one would only be ran if LaTeX is present.
Can you also please remove the sample_scenes.py
file from the top level?
Oh also please add "closes #28" to your PR description so github knows to close that issue automatically when this is merged. |
@leotrs Yes, you're absolutely right about the LaTex thing. I am changing that. And which file are you talking about? I don't see any |
We're still going to have to test LaTeX usage though Also if you're using TextMobject then it's implied it will use LaTeX; you'll want to replace everywhere where it says "TextMobject" with "Text" in order to avoid LaTeX |
We could implement a check in if latex_installed():
from manimlib.mobject.types.svg.tex_mobject import * |
@huguesdevimeux yes I did mean example_scenes.py, my bad. My rationale is that it is highly unorthodox to have |
Ack, sorry to be fussy, I meant to move the file to |
Thank you for being "fussy" like you said, it helps me to do less mistakes :) I will correct that. Nevertheless I don't think its a good idea to mix up |
Fully agreed there, the point is to have something that could serve as a test, even if it's just a run-these-scenes-and-eyeball-them kind of a test. In the (hopefully near) future, that will most definitely change to something way more exhaustive. So for now, we can use the scenes in |
Great! We need one more review here. @PgBiel ? |
closes #28