yhat / ggpy

ggplot port for python
http://yhat.github.io/ggpy/
BSD 2-Clause "Simplified" License
3.7k stars 571 forks source link

other methods and formula in stat_smooth #110

Closed rpinho closed 8 years ago

rpinho commented 10 years ago

Does stat_smooth support any method other than 'lm'? Does it support formula? It seems not. Thank you!

ericchiang commented 10 years ago

Currently the allowed methods are 'lm' and 'ma' with every other method argument defaulting to lowess. Formula is not yet supported.

https://github.com/yhat/ggplot/blob/master/ggplot/geoms/stat_smooth.py

jankatins commented 10 years ago

@99fe34ab Can you give some examples what you want (pseudo ggplot code :-) )?

glamp commented 10 years ago

loess is also supported (and is the default), though the confidence ban is not correct. see smoothers.lowess