Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanov committed Mar 29, 2013
1 parent be85d2f commit c5f6df1
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions visualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,19 @@
"metadata": {},
"source": [
"Visualization\n",
"=============="
"==============\n",
"\n",
"I (Paul Ivanov) polled the class, and it seemed like people were unfamiliar with just basic plotting, so we started off with that."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Basic Plotting\n",
"--------------\n"
"--------------\n",
"\n",
"I started off by explaining that, by default, matplotlib's pyplot interface is imported when we enable IPython's %pylab mode."
]
},
{
Expand Down Expand Up @@ -141,6 +145,13 @@
"outputs": [],
"prompt_number": 8
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Here's how you can do that in your python scripts (without IPython's pylab mode)"
]
},
{
"cell_type": "code",
"collapsed": false,
Expand All @@ -156,6 +167,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"I opened up the Matplotlib website, and in particular, the Matplotlib Gallery...\n",
"\n",
"http://matplotlib.org/gallery.html"
]
},
Expand All @@ -178,6 +191,13 @@
],
"prompt_number": 6
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We grabbed a link of some example code we found in the gallery, just to play with it interactively\n"
]
},
{
"cell_type": "code",
"collapsed": false,
Expand Down Expand Up @@ -272,6 +292,13 @@
],
"prompt_number": 38
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"R, G, B, A"
]
},
{
"cell_type": "code",
"collapsed": false,
Expand Down Expand Up @@ -325,13 +352,6 @@
],
"prompt_number": 42
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"R, G, B, A"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit c5f6df1

Please sign in to comment.