Skip to content

Commit

Permalink
[L4-3] Remove note about viridis; Update number of levels
Browse files Browse the repository at this point in the history
  • Loading branch information
mesnardo committed Aug 30, 2018
1 parent 8994b2c commit 316dd5f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lessons/04_spreadout/04_03_Heat_Equation_2D_Explicit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -489,15 +489,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"##### Note \n",
"This plotting function uses *Viridis*, a new (and _awesome_) colormap available in Matplotlib versions 1.5 and greater. If you see an error when you try to plot using `cm.viridis`, just update Matplotlib using `conda` or `pip`."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"That looks pretty cool! Note that in the call to `pyplot.contourf` you can specify the number of contour levels to display (we chose 20). Look at that visualization: does it make physical sense to you, considering that the upper and right sides of the chip are insulated, in our problem?"
"That looks pretty cool! Note that in the call to `pyplot.contourf` you can specify the number of contour levels to display (we chose `51`). Look at that visualization: does it make physical sense to you, considering that the upper and right sides of the chip are insulated, in our problem?"
]
},
{
Expand Down Expand Up @@ -723,7 +715,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 316dd5f

Please sign in to comment.