You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
array must not contain infs or NaNs RuntimeWarning: invalid value encountered in double_scalars self.f = lambda x: (1+1/x)**x
I tried to make spacing by 3< so it will skip 0, but it didn't help. When I'm trying this: self.axes = Axes((1, 10), (2, 3))
it works, but I need axes starting from -10 to 10 on both
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
self.axes = Axes( x_range=(-10, 10, 3), y_range=(-10, 10, 3), ) self.f = lambda x: (1+1/x)**x curve = self.axes.plot(self.f, color= RED) self.play(Create(self.axes), Create(curve)) self.interactive_embed()
gives me this:
I tried to make spacing by 3< so it will skip 0, but it didn't help. When I'm trying this:
self.axes = Axes((1, 10), (2, 3))
it works, but I need axes starting from -10 to 10 on both
Beta Was this translation helpful? Give feedback.
All reactions