|
343 | 343 | "cell_type": "markdown", |
344 | 344 | "metadata": {}, |
345 | 345 | "source": [ |
346 | | - "The `data` object contains many columns. If no columns are specified, explicitly the first 2 columns are taken for x and y respectively by the `Scatter` element. " |
| 346 | + "The `data` object contains many columns. If no columns are specified, explicitly the first 2 columns are taken for x and y respectively by the [Scatter Element](https://holoviews.org/reference/elements/bokeh/Scatter.html)." |
347 | 347 | ] |
348 | 348 | }, |
349 | 349 | { |
|
381 | 381 | "cell_type": "markdown", |
382 | 382 | "metadata": {}, |
383 | 383 | "source": [ |
384 | | - "Next, let's create a layout of several plots. A `Layout` is a type of `Container` that can contain any HoloViews object. Other types of Containers that exist include Overlay, Gridspace, Dynamicmap, etc. See the Holoviews [Reference Gallery](http://holoviews.org/reference/index.html) for the full list of `Layouts` that can be created with Holoviews. See [Building Composite Objects](http://holoviews.org/user_guide/Building_Composite_Objects.html) for the full details about the ways Containers can be composed.\n", |
| 384 | + "Next, let's create a layout of several plots. A `Layout` is a type of `Container` that can contain any HoloViews object. Other types of Containers that exist include `Overlay`, `Gridspace`, `Dynamicmap`, etc. See the Holoviews [Reference Gallery](http://holoviews.org/reference/index.html) for the full list of `Layouts` that can be created with Holoviews. See [Building Composite Objects](http://holoviews.org/user_guide/Building_Composite_Objects.html) for the full details about the ways Containers can be composed.\n", |
385 | 385 | "\n", |
386 | 386 | "The `+` operator is used to create a Layout. " |
387 | 387 | ] |
|
397 | 397 | " title=\"Skyplot\", toolbar='above', tools = ['hover'], \n", |
398 | 398 | " height=350, width=350) \n", |
399 | 399 | "\n", |
400 | | - "# Build a composite object using the `+` operator\n", |
| 400 | + "# Construct a layout using the `+` operator\n", |
401 | 401 | "skyplots = skyplot + \\\n", |
402 | 402 | " skyplot[59.67:60.07, -30.71:-29.78].opts(\n", |
403 | 403 | " title=\"Skyplot region\", tools=[]) + \\\n", |
|
538 | 538 | "metadata": {}, |
539 | 539 | "outputs": [], |
540 | 540 | "source": [ |
541 | | - "%%opts Scatter [tools=['hover'], toolbar='above',height=400, width=400](color='grey')\n", |
| 541 | + "# %%opts Scatter [tools=['hover'], toolbar='above',height=400, width=400](color='grey')\n", |
542 | 542 | "hv.Scatter(data)" |
543 | 543 | ] |
544 | 544 | }, |
|
853 | 853 | "metadata": {}, |
854 | 854 | "outputs": [], |
855 | 855 | "source": [ |
856 | | - "print('The value at position (%.3f, %.3f) is %.3f' %\n", |
857 | | - " (posxy.x, posxy.y, calexp.image.array[-int(posxy.y), int(posxy.x)]))" |
| 856 | + "print('The scaled/raw value at position (%.3f, %.3f) is %.3f / %.3f' %\n", |
| 857 | + " (posxy.x, posxy.y, scaledImage[-int(posxy.y), int(posxy.x)], \n", |
| 858 | + " calexp.image.array[-int(posxy.y), int(posxy.x)]))" |
858 | 859 | ] |
859 | 860 | }, |
860 | 861 | { |
|
0 commit comments