Skip to content

Commit

Permalink
Updated index.rst passing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyod committed Jul 8, 2018
1 parent 7c1c47c commit 332b2c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Minimal working example

Here's a minimal working example::

>>> from KDEpy import KDE
>>> from KDEpy import NaiveKDE
>>> import numpy as np
>>> from scipy.stats import norm
>>> data = norm(loc=0, scale=1).rvs(100)
>>> x = np.linspace(-3, 3)
>>> y = KDE(kernel='gaussian', bw=0.5).fit(data).evaluate(x)
>>> y = NaiveKDE(kernel='gaussian', bw=0.5).fit(data).evaluate(x)

.. image:: _static/img/minimal_working_example.png
:width: 400 px
Expand Down

0 comments on commit 332b2c3

Please sign in to comment.