Python Manim NumberLine Scaling Syntax #2758
-
Manim NumberLine object:
I don't understand how to tell my numberline to scale the x_range using the inverse_function or function parameter. If I pass an underscore to the inverse_function, it tries to dvide the underscore by 10 resulting in operator error. x_range is supposed to be the value that is being divded, but it doesn't get passed well to anything other than scaling = LinearBase(10) or scaling = LogBase(10). What's the proper syntax to scale my number line using the function or inverse_function parameter of LinearBase? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you explain what exactly you would like to do? |
Beta Was this translation helpful? Give feedback.
Can you explain what exactly you would like to do?
LinearBase.inverse_function
is used internally for plotting, not for constructing a base that can be passed to thescaling
keyword argument.