[SciPy-User] Request for usage examples on scipy.stats.rv_continuous and scipy.ndimage.grey_dilate(structure)

Ralf Gommers ralf.gommers at googlemail.com
Mon Mar 22 11:17:35 EDT 2010


On Mon, Mar 22, 2010 at 10:50 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Mon, Mar 22, 2010 at 09:44, Christoph Deil
> > It would be nice if someone could add a few examples that show
> rv_continuous usage to the docstring or tutorial.
>
> rv_continuous is a base class. You do not use it directly. The reason
> the docstring doesn't work is because it is used as a template to
> build the docstrings for the subclasses. If you want to subclass from
> it to make your own distribution class, read the source of the other
> distribution classes for examples.
>
> That reminds me of http://projects.scipy.org/scipy/ticket/1055. That will
enable a proper docstring for rv_continuous that explains this.

Josef, if I split up the patch into a couple of logical units, will you
accept it?

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20100322/37c167fe/attachment.html>


More information about the SciPy-User mailing list