Skip to content

Real time update of functions #3337

Answered by uwezi
HenYu-Yo asked this question in Q&A
Aug 19, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Can you please come over to Discord? It's our preferred way to help people.

Also: what editor are you using for your code? Because you have a mismatch in indentation levels which should have been picked up easily by any modern editor for python code.

next error of yours: .get_value() is a function without arguments/parameters, yet it still needs a pair of parentheses.

Fixing these problems we get

class demo(Scene):
    def construct(self):
        axe = Axes(
            x_range=(-5, 5),
            y_range=(-2, 2),
            x_length=10,
            y_length=5,
            axis_config={
                "include_numbers": True,
                "tip_shape": StealthTip
            }
    …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HenYu-Yo
Comment options

Answer selected by HenYu-Yo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants