Skip to content

Commit

Permalink
Merge pull request #1511 from ioam/stream_tutorial_path_fix
Browse files Browse the repository at this point in the history
Switched Lissajous example to use Path instead of Curve
  • Loading branch information
philippjfr committed Jun 1, 2017
2 parents d697f4c + 7155304 commit 295f54c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Tutorials/Streams.ipynb
Expand Up @@ -38,7 +38,7 @@
"%opts Ellipse [bgcolor='w'] (color='b')\n",
"%opts Image (cmap='viridis')\n",
"%opts VLine (color='r' linewidth=2) HLine (color='r' linewidth=1)\n",
"%opts Curve [show_grid=False bgcolor='w'] (color='k' linestyle='-.')\n",
"%opts Path [show_grid=False bgcolor='w'] (color='k' linestyle='-.')\n",
"%opts Area (hatch='\\\\' facecolor='cornsilk' linewidth=2 edgecolor='k')"
]
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"\n",
"def lissajous_curve(t, a=3,b=5, delta=np.pi/2):\n",
" (x,y) = lissajous(t,a,b,delta)\n",
" return hv.Curve(lissajous(lin,a,b,delta)) * hv.VLine(x) * hv.HLine(y)\n",
" return hv.Path(lissajous(lin,a,b,delta)) * hv.VLine(x) * hv.HLine(y)\n",
"\n",
"hv.DynamicMap(lissajous_curve, kdims=['t']).redim.range(t=(-3.,3.))"
]
Expand Down Expand Up @@ -881,7 +881,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.12"
"version": "2.7.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 295f54c

Please sign in to comment.