I'm using
+ geom_smooth(method="lm", formula= ("y ~ exp(x)"))
in plotnine, but I got the following error:
NameError: name 'exp' is not defined
I haven't used ggplot in R, but I saw this works in R. How do I make this work in python?
Thanks!
I'm using
+ geom_smooth(method="lm", formula= ("y ~ exp(x)"))
in plotnine, but I got the following error:
NameError: name 'exp' is not defined
I haven't used ggplot in R, but I saw this works in R. How do I make this work in python?
Thanks!
Copyright © 2021 Jogjafile Inc.