Skip to content

Commit

Permalink
Добавил примеры работы с библиотекой
Browse files Browse the repository at this point in the history
  • Loading branch information
Merzlikin-Matvey committed Nov 15, 2024
1 parent 78173f7 commit 641af91
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ class SystemOfEquationsScene(Scene):
def construct(self):
first = SystemOfEquations(
MathTex('3x', '+', '1', '=', '0'),
MathTex('\sin', '{x}', '=', '0.5'),
MathTex(r'\sin', '{x}', '=', '0.5'),
is_bracket=True
)

second = SystemOfEquations(
MathTex('3x', '=', '-', '1'),
MathTex('\sin', '{x}', '=', '0.5'),
MathTex(r'\sin', '{x}', '=', '0.5'),
is_bracket=True
)

Expand Down Expand Up @@ -62,7 +62,6 @@ def construct(self):
if __name__ == "__main__":
config.media_dir = "media/examples"


SystemOfEquationsScene().render()
Trigonometry().render()
Triangle().render()
Triangle().render()

0 comments on commit 641af91

Please sign in to comment.