@@ -261,7 +261,7 @@ add in “pass” for the moment.
|
|||||||
def sample(self):
|
def sample(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
Now we have the skeleton for our ``Heart`` class. The ``is_inside``
|
Now we have the skeleton for our ``Heart`` class. The ``sample``
|
||||||
method is where most of the work is done so let’s fill it out.
|
method is where most of the work is done so let’s fill it out.
|
||||||
|
|
||||||
.. code:: ipython3
|
.. code:: ipython3
|
||||||
|
|||||||
2
tutorials/tutorial6/tutorial.ipynb
vendored
2
tutorials/tutorial6/tutorial.ipynb
vendored
@@ -422,7 +422,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"Now we have the skeleton for our `Heart` class. The `is_inside` method is where most of the work is done so let's fill it out."
|
"Now we have the skeleton for our `Heart` class. The `sample` method is where most of the work is done so let's fill it out."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
2
tutorials/tutorial6/tutorial.py
vendored
2
tutorials/tutorial6/tutorial.py
vendored
@@ -198,7 +198,7 @@ class Heart(Location):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
# Now we have the skeleton for our `Heart` class. The `is_inside` method is where most of the work is done so let's fill it out.
|
# Now we have the skeleton for our `Heart` class. The `sample` method is where most of the work is done so let's fill it out.
|
||||||
|
|
||||||
# In[14]:
|
# In[14]:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user