Skip to content

Commit

Permalink
Fixed image range link example
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jul 2, 2018
1 parent fba6421 commit 2706b6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/gallery/demos/bokeh/image_range_tool.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@
" z[diverge] = 2\n",
" yield divtime\n",
"\n",
"def mandelbrot(h,w, n, maxit, bounds=(-2,-1.4,0.8,1.4)):\n",
"def mandelbrot(h,w, n, maxit, bounds):\n",
" \"Returns the mandelbrot set computed to maxit\"\n",
" iterable = mandelbrot_generator(h,w, maxit, bounds)\n",
" return next(islice(iterable, n, None))\n",
"\n",
"mbset = mandelbrot(800,800, 45, 46)\n",
"bounds = (-2,-1.4,0.8,1.4)\n",
"mbset = mandelbrot(800,800, 45, 46, bounds)\n",
"\n",
"mbset_image = hv.Image(mbset, bounds=bounds)"
]
Expand Down

0 comments on commit 2706b6a

Please sign in to comment.