You can specify an error parameter (the standard deviation) for either x or y. If specified, the error bars are plotted. The standard deviation in y is used to determine any fit, but the standard deviation of x is not.