Skip to content

Commit

Permalink
Merge pull request #24 from j9ac9k/master
Browse files Browse the repository at this point in the history
PR to fix Vispy Error Fixing Issue #23
  • Loading branch information
rossant committed May 16, 2015
2 parents 85d9692 + 87dab4e commit 296826e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions notebooks/chapter06_viz/06_vispy.ipynb
Expand Up @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {
"collapsed": false
},
Expand All @@ -64,7 +64,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {
"collapsed": false
},
Expand All @@ -82,7 +82,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {
"collapsed": false
},
Expand All @@ -106,7 +106,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {
"collapsed": false
},
Expand All @@ -129,7 +129,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"metadata": {
"collapsed": false
},
Expand All @@ -147,15 +147,15 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"program['a_position'] = np.c_[\n",
" np.linspace(-1.0, +1.0, 1000),\n",
" np.random.uniform(-0.5, +0.5, 1000)]"
" np.linspace(-1.0, +1.0, 1000).astype(np.float32),\n",
" np.random.uniform(-0.5, +0.5, 1000).astype(np.float32)]"
]
},
{
Expand All @@ -167,7 +167,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"metadata": {
"collapsed": false
},
Expand All @@ -187,7 +187,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"metadata": {
"collapsed": false
},
Expand All @@ -208,7 +208,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 11,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -244,7 +244,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
"version": "3.4.1"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 296826e

Please sign in to comment.