6.5.2.2.1.1.2. statsmodels.sandbox.nonparametric.dgp_examples.UnivariateFanGijbels1.plot¶
-
UnivariateFanGijbels1.
plot
(scatter=True, ax=None)¶ plot the mean function and optionally the scatter of the sample
Parameters: scatter: bool
If true, then add scatterpoints of sample to plot.
ax : None or matplotlib axis instance
If None, then a matplotlib.pyplot figure is created, otherwise the given axis, ax, is used.
Returns: fig : matplotlib figure
This is either the created figure instance or the one associated with ax if ax is given.