diff --git a/examples/gallery/demos/matplotlib/stocks_example.ipynb b/examples/gallery/demos/matplotlib/stocks_example.ipynb index b62db6f72b..bca485b9cb 100644 --- a/examples/gallery/demos/matplotlib/stocks_example.ipynb +++ b/examples/gallery/demos/matplotlib/stocks_example.ipynb @@ -42,7 +42,7 @@ "\n", "def get_curve(data, label=''):\n", " df = pd.DataFrame(data)\n", - " df['date'] = df.date.astype(np.datetime64)\n", + " df['date'] = df.date.astype('datetime64[ns]')\n", " return hv.Curve(df, ('date', 'Date'), ('adj_close', 'Price'), label=label)\n", "\n", "hv.Dimension.type_formatters[np.datetime64] = '%Y'\n", diff --git a/examples/getting_started/3-Tabular_Datasets.ipynb b/examples/getting_started/3-Tabular_Datasets.ipynb index d017006a65..0e741436f8 100644 --- a/examples/getting_started/3-Tabular_Datasets.ipynb +++ b/examples/getting_started/3-Tabular_Datasets.ipynb @@ -133,7 +133,7 @@ "metadata": {}, "outputs": [], "source": [ - "%%opts Bars [width=800 height=400 tools=['hover'] group_index=1 legend_position='top_left']\n", + "%%opts Bars [width=800 height=400 tools=['hover'] xrotation=90 show_legend=False]\n", "states = ['New York', 'New Jersey', 'California', 'Texas']\n", "ds.select(State=states, Year=(1980, 1990)).to(hv.Bars, ['Year', 'State'], 'measles').sort()" ] @@ -201,7 +201,7 @@ "source": [ "%%opts Curve [width=600]\n", "agg = ds.aggregate('Year', function=np.mean, spreadfn=np.std)\n", - "(hv.Curve(agg) * hv.ErrorBars(agg,vdims=['measles', 'measles_std'])).redim.range(measles=(0, None))" + "(hv.Curve(agg) * hv.ErrorBars(agg,vdims=['measles', 'measles_std']).iloc[::2]).redim.range(measles=(0, None))" ] }, { diff --git a/examples/reference/elements/bokeh/Area.ipynb b/examples/reference/elements/bokeh/Area.ipynb index e560778e6f..eb75b6ea38 100644 --- a/examples/reference/elements/bokeh/Area.ipynb +++ b/examples/reference/elements/bokeh/Area.ipynb @@ -97,6 +97,13 @@ "overlay = hv.Overlay([hv.Area(percentages[:, i], vdims=[hv.Dimension('value', unit='%')]) for i in range(5)])\n", "overlay + hv.Area.stack(overlay)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Area).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Arrow.ipynb b/examples/reference/elements/bokeh/Arrow.ipynb index fbe7ae87c4..a764a24204 100644 --- a/examples/reference/elements/bokeh/Arrow.ipynb +++ b/examples/reference/elements/bokeh/Arrow.ipynb @@ -61,6 +61,13 @@ "(points * hv.Arrow(2, points['y'].min(), 'Min', 'v', arrowstyle='-[') *\n", "hv.Arrow(2, points['y'].max(), 'Max', '^', arrowstyle='-[')).redim.range(y=(-5, 5), x=(-3, 3))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Arrow).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Bars.ipynb b/examples/reference/elements/bokeh/Bars.ipynb index f9b8941ab2..8ef60f0955 100644 --- a/examples/reference/elements/bokeh/Bars.ipynb +++ b/examples/reference/elements/bokeh/Bars.ipynb @@ -82,6 +82,13 @@ " ['Index', 'Group'], 'Count')\n", "bars.relabel(group='Grouped') + bars.relabel(group='Stacked')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Bars).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Bivariate.ipynb b/examples/reference/elements/bokeh/Bivariate.ipynb index 84a82feac2..43a4d7527f 100644 --- a/examples/reference/elements/bokeh/Bivariate.ipynb +++ b/examples/reference/elements/bokeh/Bivariate.ipynb @@ -98,25 +98,19 @@ "kde = bivariate_kde(dist, x_range=(-4, 4), y_range=(-4, 4), bw_method='silverman', n_samples=20)\n", "kde" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Bivariate).``" + ] } ], "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.2" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/examples/reference/elements/bokeh/Bounds.ipynb b/examples/reference/elements/bokeh/Bounds.ipynb index e685b49b9b..06c357911c 100644 --- a/examples/reference/elements/bokeh/Bounds.ipynb +++ b/examples/reference/elements/bokeh/Bounds.ipynb @@ -57,6 +57,13 @@ "source": [ "penguins * penguins[-0.15:0.2, -0.4:0, 'G'] * hv.Bounds((-0.15, -0.4, 0.2, 0))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Bounds).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Box.ipynb b/examples/reference/elements/bokeh/Box.ipynb index 8e90fff126..f198f3200d 100644 --- a/examples/reference/elements/bokeh/Box.ipynb +++ b/examples/reference/elements/bokeh/Box.ipynb @@ -64,6 +64,13 @@ "data[np.arange(30, 70), np.arange(30, 70)] = -3\n", "hv.Image(data) * hv.Box(-0, 0, 0.25, aspect=3, orientation=-np.pi/4)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Box).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/BoxWhisker.ipynb b/examples/reference/elements/bokeh/BoxWhisker.ipynb index 38e7a97b89..96c6e051cd 100644 --- a/examples/reference/elements/bokeh/BoxWhisker.ipynb +++ b/examples/reference/elements/bokeh/BoxWhisker.ipynb @@ -67,6 +67,13 @@ "hv.BoxWhisker((groups, np.random.randint(0, 5, 200), np.random.randn(200)),\n", " ['Group', 'Category'], 'Value').sort()" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.BoxWhisker).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Contours.ipynb b/examples/reference/elements/bokeh/Contours.ipynb index e557e51773..309510c5d3 100644 --- a/examples/reference/elements/bokeh/Contours.ipynb +++ b/examples/reference/elements/bokeh/Contours.ipynb @@ -65,6 +65,13 @@ "img = hv.Image(np.sin(x**2+y**3))\n", "img + hv.operation.contours(img, levels=5)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Contours).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Curve.ipynb b/examples/reference/elements/bokeh/Curve.ipynb index 13cdcf067b..81ceb4df96 100644 --- a/examples/reference/elements/bokeh/Curve.ipynb +++ b/examples/reference/elements/bokeh/Curve.ipynb @@ -74,6 +74,13 @@ "hv.NdOverlay({interp: hv.Curve(points[::8]).opts(plot=dict(interpolation=interp))\n", " for interp in ['linear', 'steps-mid', 'steps-pre', 'steps-post']})" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Curve).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Distribution.ipynb b/examples/reference/elements/bokeh/Distribution.ipynb index 998da03f9b..958f6fb457 100644 --- a/examples/reference/elements/bokeh/Distribution.ipynb +++ b/examples/reference/elements/bokeh/Distribution.ipynb @@ -103,25 +103,19 @@ "kde = univariate_kde(dist, bin_range=(-4, 4), bw_method='silverman', n_samples=20)\n", "kde" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Distribution).``" + ] } ], "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.2" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/examples/reference/elements/bokeh/Ellipse.ipynb b/examples/reference/elements/bokeh/Ellipse.ipynb index bffd57468d..6306f8dc41 100644 --- a/examples/reference/elements/bokeh/Ellipse.ipynb +++ b/examples/reference/elements/bokeh/Ellipse.ipynb @@ -65,6 +65,13 @@ "clusters = hv.Points(c1) * hv.Points((c2x, c2y)) * hv.Points(c3)\n", "clusters * hv.Ellipse(0,0, 4, orientation=np.pi/5, aspect=2) " ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Ellipse).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/ErrorBars.ipynb b/examples/reference/elements/bokeh/ErrorBars.ipynb index 53b1096c9e..046c960218 100644 --- a/examples/reference/elements/bokeh/ErrorBars.ipynb +++ b/examples/reference/elements/bokeh/ErrorBars.ipynb @@ -76,6 +76,13 @@ "errors = [(0.1*i, np.sin(0.1*i), np.random.rand()/2, np.random.rand()/4) for i in np.linspace(0, 100, 11)]\n", "hv.Curve(errors) * hv.ErrorBars(errors, vdims=['y', 'yerrneg', 'yerrpos'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.ErrorBars).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Graph.ipynb b/examples/reference/elements/bokeh/Graph.ipynb index e4298646a5..e20764bcfb 100644 --- a/examples/reference/elements/bokeh/Graph.ipynb +++ b/examples/reference/elements/bokeh/Graph.ipynb @@ -121,6 +121,13 @@ "graph.redim.range(**padding).opts(plot=dict(color_index='Type', edge_color_index='Weight'),\n", " style=dict(cmap=['blue', 'red'], edge_cmap='viridis'))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Graph).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/HLine.ipynb b/examples/reference/elements/bokeh/HLine.ipynb index 8618733842..2b3624a1f0 100644 --- a/examples/reference/elements/bokeh/HLine.ipynb +++ b/examples/reference/elements/bokeh/HLine.ipynb @@ -42,6 +42,13 @@ "ys = np.random.normal(size=100) * xs\n", "hv.Points((xs,ys)) * hv.HLine(ys.mean())" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HLine).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/HSV.ipynb b/examples/reference/elements/bokeh/HSV.ipynb index 86835965ee..badace4b48 100644 --- a/examples/reference/elements/bokeh/HSV.ipynb +++ b/examples/reference/elements/bokeh/HSV.ipynb @@ -81,6 +81,13 @@ "print(hsv.rgb)\n", "hsv.rgb[..., 'R'] + hsv.rgb[..., 'G'] + hsv.rgb[..., 'B']" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HSV).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/HeatMap.ipynb b/examples/reference/elements/bokeh/HeatMap.ipynb index 443dbc706b..ebdc7a7f91 100644 --- a/examples/reference/elements/bokeh/HeatMap.ipynb +++ b/examples/reference/elements/bokeh/HeatMap.ipynb @@ -79,6 +79,13 @@ "hv.HeatMap((np.random.randint(0, 10, 100), np.random.randint(0, 10, 100),\n", " np.random.randn(100), np.random.randn(100)), vdims=['z', 'z2']).redim.range(z=(-2, 2))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HeatMap).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Histogram.ipynb b/examples/reference/elements/bokeh/Histogram.ipynb index 4e5ea5b319..259354e3de 100644 --- a/examples/reference/elements/bokeh/Histogram.ipynb +++ b/examples/reference/elements/bokeh/Histogram.ipynb @@ -103,6 +103,13 @@ " for dim in 'xy')\n", "(points2 * points) << yhist(plot=dict(width=125)) << xhist(plot=dict(height=125))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Histogram).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Image.ipynb b/examples/reference/elements/bokeh/Image.ipynb index 7f97de3847..31d30e4666 100644 --- a/examples/reference/elements/bokeh/Image.ipynb +++ b/examples/reference/elements/bokeh/Image.ipynb @@ -100,7 +100,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "One additional way to create Image objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications." + "One additional way to create Image objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Image).``" ] } ], diff --git a/examples/reference/elements/bokeh/ItemTable.ipynb b/examples/reference/elements/bokeh/ItemTable.ipynb index 9770e00692..aa03e0a0f2 100644 --- a/examples/reference/elements/bokeh/ItemTable.ipynb +++ b/examples/reference/elements/bokeh/ItemTable.ipynb @@ -40,6 +40,13 @@ "%%opts ItemTable [height=60]\n", "hv.ItemTable([('Age', 10), ('Weight',15), ('Height','0.8 meters')])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.ItemTable).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Path.ipynb b/examples/reference/elements/bokeh/Path.ipynb index 9c223d4249..221b45924c 100644 --- a/examples/reference/elements/bokeh/Path.ipynb +++ b/examples/reference/elements/bokeh/Path.ipynb @@ -111,6 +111,13 @@ "hv.Path((np.arange(N), np.random.rand(N, NLINES) + np.arange(NLINES)[np.newaxis, :])) *\\\n", "hv.Path((np.arange(N), np.random.rand(N, NLINES) + np.arange(NLINES)[np.newaxis, :]))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Path).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Points.ipynb b/examples/reference/elements/bokeh/Points.ipynb index 38de018a58..788d49075e 100644 --- a/examples/reference/elements/bokeh/Points.ipynb +++ b/examples/reference/elements/bokeh/Points.ipynb @@ -97,7 +97,10 @@ "source": [ "**Note**: Although the ``Scatter`` element is superficially similar to the [``Points``](./Points.ipynb) element (they can generate plots that look identical), the two element types are semantically quite different. The fundamental difference is that [``Points``](./Points.ipynb) are used to visualize data where the *y* variable is *dependent*. This semantic difference also explains why the histogram generated by ``hist`` call above visualizes the distribution of a different dimension than it does for [``Scatter``](./Scatter.ipynb).\n", "\n", - "This difference means that ``Points`` naturally combine elements that express independent variables in two-dimensional space, for instance [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb). Similarly, ``Scatter`` expresses a dependent relationship in two-dimensions and combine naturally with ``Chart`` types such as [``Curve``](./Curve.ipynb)." + "This difference means that ``Points`` naturally combine elements that express independent variables in two-dimensional space, for instance [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb). Similarly, ``Scatter`` expresses a dependent relationship in two-dimensions and combine naturally with ``Chart`` types such as [``Curve``](./Curve.ipynb).\n", + "\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Points).``" ] } ], diff --git a/examples/reference/elements/bokeh/Polygons.ipynb b/examples/reference/elements/bokeh/Polygons.ipynb index 60af8153f1..de2fde5f58 100644 --- a/examples/reference/elements/bokeh/Polygons.ipynb +++ b/examples/reference/elements/bokeh/Polygons.ipynb @@ -83,6 +83,13 @@ "hv.Polygons([{('x', 'y'): hv.Box(0, 0, i).array(), 'z': i} for i in range(1, 10)[::-1]], vdims='z') +\\\n", "hv.Polygons([{('x', 'y'): hv.Ellipse(0, 0, (i, i)).array(), 'z': i} for i in range(1, 10)[::-1]], vdims='z')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Polygons).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/QuadMesh.ipynb b/examples/reference/elements/bokeh/QuadMesh.ipynb index 633fcb37b4..223404b858 100644 --- a/examples/reference/elements/bokeh/QuadMesh.ipynb +++ b/examples/reference/elements/bokeh/QuadMesh.ipynb @@ -102,7 +102,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Now when you hover over this visualization, you can see the sample value as well as an outline of the selected bin." + "Now when you hover over this visualization, you can see the sample value as well as an outline of the selected bin.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.QuadMesh).``" ] } ], diff --git a/examples/reference/elements/bokeh/RGB.ipynb b/examples/reference/elements/bokeh/RGB.ipynb index a7dd57ccf1..c1b276d0af 100644 --- a/examples/reference/elements/bokeh/RGB.ipynb +++ b/examples/reference/elements/bokeh/RGB.ipynb @@ -112,7 +112,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "One additional way to create RGB objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications." + "One additional way to create RGB objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.RGB).``" ] } ], diff --git a/examples/reference/elements/bokeh/Raster.ipynb b/examples/reference/elements/bokeh/Raster.ipynb index e368d5af3c..360e25517d 100644 --- a/examples/reference/elements/bokeh/Raster.ipynb +++ b/examples/reference/elements/bokeh/Raster.ipynb @@ -46,7 +46,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - " The coordinate system of a ``Raster`` is the raw indexes of the underlying array, with integer values always starting from (0,0) in the top left, with default extents corresponding to the shape of the array. For a similar element used to visualize arrays but defined in a continuous Cartesian coordinate system, use the [``Image``](./Image.ipynb) element." + " The coordinate system of a ``Raster`` is the raw indexes of the underlying array, with integer values always starting from (0,0) in the top left, with default extents corresponding to the shape of the array. For a similar element used to visualize arrays but defined in a continuous Cartesian coordinate system, use the [``Image``](./Image.ipynb) element.\n", + " \n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Raster).``" ] } ], diff --git a/examples/reference/elements/bokeh/Scatter.ipynb b/examples/reference/elements/bokeh/Scatter.ipynb index aa7ff4deae..5ae411083b 100644 --- a/examples/reference/elements/bokeh/Scatter.ipynb +++ b/examples/reference/elements/bokeh/Scatter.ipynb @@ -101,7 +101,9 @@ "source": [ "**Note**: Although the ``Scatter`` element is superficially similar to the [``Points``](./Points.ipynb) element (they can generate plots that look identical), the two element types are semantically quite different: ``Points`` are used to visualize data where the *y* variable is *dependent*. This semantic difference also explains why the histogram generated by ``hist`` call above visualizes the distribution of a different dimension than it does for [``Points``](./Points.ipynb).\n", "\n", - "This difference means that ``Scatter`` naturally combine elements that express dependent variables in two-dimensional space such as the ``Chart`` types, such as [``Curve``](./Curve.ipynb). Similarly, ``Points`` express a independent relationship in two-dimensions and combine naturally with [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb)." + "This difference means that ``Scatter`` naturally combine elements that express dependent variables in two-dimensional space such as the ``Chart`` types, such as [``Curve``](./Curve.ipynb). Similarly, ``Points`` express a independent relationship in two-dimensions and combine naturally with [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Scatter).``" ] } ], diff --git a/examples/reference/elements/bokeh/Spikes.ipynb b/examples/reference/elements/bokeh/Spikes.ipynb index 2b4f8848c6..941ae03078 100644 --- a/examples/reference/elements/bokeh/Spikes.ipynb +++ b/examples/reference/elements/bokeh/Spikes.ipynb @@ -114,6 +114,13 @@ "points = hv.Points(np.random.randn(500, 2))\n", "points << hv.Spikes(points['y']) << hv.Spikes(points['x'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Spikes).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Spline.ipynb b/examples/reference/elements/bokeh/Spline.ipynb index 3cf17e82ac..52e0523229 100644 --- a/examples/reference/elements/bokeh/Spline.ipynb +++ b/examples/reference/elements/bokeh/Spline.ipynb @@ -46,7 +46,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Note that the Bokeh ``Spline`` does not support the same control codes as the [matplotlib version](../matplotlib/Spline.ipynb) which is why the codes are supplied above as an empty list." + "Note that the Bokeh ``Spline`` does not support the same control codes as the [matplotlib version](../matplotlib/Spline.ipynb) which is why the codes are supplied above as an empty list.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Spline).``" ] } ], diff --git a/examples/reference/elements/bokeh/Spread.ipynb b/examples/reference/elements/bokeh/Spread.ipynb index 5afabc33e5..eb95849679 100644 --- a/examples/reference/elements/bokeh/Spread.ipynb +++ b/examples/reference/elements/bokeh/Spread.ipynb @@ -80,6 +80,13 @@ "hv.Spread((xs, np.sin(xs), 0.1+np.random.rand(len(xs)), 0.1+np.random.rand(len(xs))),\n", " vdims=['y', 'yerrneg', 'yerrpos'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Spread).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/Table.ipynb b/examples/reference/elements/bokeh/Table.ipynb index 99fc0b2d52..d7aaf89998 100644 --- a/examples/reference/elements/bokeh/Table.ipynb +++ b/examples/reference/elements/bokeh/Table.ipynb @@ -115,7 +115,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "For more extended usage of table conversion see the [Tabular Data](../../../user_guide/07-Tabular_Datasets.ipynb) user guide." + "For more extended usage of table conversion see the [Tabular Data](../../../user_guide/07-Tabular_Datasets.ipynb) user guide.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Table).``" ] } ], diff --git a/examples/reference/elements/bokeh/Text.ipynb b/examples/reference/elements/bokeh/Text.ipynb index 8b58036135..e5e8bfbadd 100644 --- a/examples/reference/elements/bokeh/Text.ipynb +++ b/examples/reference/elements/bokeh/Text.ipynb @@ -41,6 +41,13 @@ "xs = np.linspace(-5,5,100)\n", "hv.Curve((xs,-(xs-2)**2)) * hv.Text(0, -30, 'Quadratic Curve')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Text).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/TriMesh.ipynb b/examples/reference/elements/bokeh/TriMesh.ipynb index e2778a81a9..860f6f90de 100644 --- a/examples/reference/elements/bokeh/TriMesh.ipynb +++ b/examples/reference/elements/bokeh/TriMesh.ipynb @@ -155,25 +155,19 @@ "%%opts TriMesh [filled=True edge_color_index='z' width=400 height=400 tools=['hover'] inspection_policy='edges'] (cmap='viridis')\n", "hv.TriMesh((simplices, nodes))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.TriMesh).``" + ] } ], "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.3" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/examples/reference/elements/bokeh/VLine.ipynb b/examples/reference/elements/bokeh/VLine.ipynb index 19338f023b..d6bf4619ae 100644 --- a/examples/reference/elements/bokeh/VLine.ipynb +++ b/examples/reference/elements/bokeh/VLine.ipynb @@ -42,6 +42,13 @@ "ys = -(xs-2)**2\n", "hv.Curve((xs,ys)) * hv.VLine(xs[ys.argmax()])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.VLine).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/bokeh/VectorField.ipynb b/examples/reference/elements/bokeh/VectorField.ipynb index 9808427ad3..86b6557b01 100644 --- a/examples/reference/elements/bokeh/VectorField.ipynb +++ b/examples/reference/elements/bokeh/VectorField.ipynb @@ -122,6 +122,13 @@ "%%opts VectorField [width=500 color_index=3 size_index=3 pivot='tip'] (cmap='fire' scale=0.8) Points (color='black' size=1)\n", "hv.VectorField((xs, ys, angle, mag)) * hv.Points((X.flat, Y.flat))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.VectorField).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Area.ipynb b/examples/reference/elements/matplotlib/Area.ipynb index 9535c72b0c..ed743f335a 100644 --- a/examples/reference/elements/matplotlib/Area.ipynb +++ b/examples/reference/elements/matplotlib/Area.ipynb @@ -97,6 +97,13 @@ "overlay = hv.Overlay([hv.Area(percentages[:, i], vdims=[hv.Dimension('value', unit='%')]) for i in range(5)])\n", "overlay + hv.Area.stack(overlay)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Area).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Arrow.ipynb b/examples/reference/elements/matplotlib/Arrow.ipynb index cfcbc9a466..fc857d79a5 100644 --- a/examples/reference/elements/matplotlib/Arrow.ipynb +++ b/examples/reference/elements/matplotlib/Arrow.ipynb @@ -61,6 +61,13 @@ "(points * hv.Arrow(2, points['y'].min(), 'Min', 'v', arrowstyle='-[') *\n", "hv.Arrow(2, points['y'].max(), 'Max', '^', arrowstyle='-[')).redim.range(y=(-5, 5), x=(-3, 3))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Arrow).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Bars.ipynb b/examples/reference/elements/matplotlib/Bars.ipynb index 2c9abef6f5..cc7f3fd91b 100644 --- a/examples/reference/elements/matplotlib/Bars.ipynb +++ b/examples/reference/elements/matplotlib/Bars.ipynb @@ -83,6 +83,13 @@ " ['Index', 'Group'], 'Count')\n", "bars.relabel(group='Grouped') + bars.relabel(group='Stacked')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Bars).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Bivariate.ipynb b/examples/reference/elements/matplotlib/Bivariate.ipynb index 04f376cf9f..fc982a7c10 100644 --- a/examples/reference/elements/matplotlib/Bivariate.ipynb +++ b/examples/reference/elements/matplotlib/Bivariate.ipynb @@ -98,25 +98,19 @@ "kde = bivariate_kde(dist, x_range=(-4, 4), y_range=(-4, 4), bw_method='silverman', n_samples=20)\n", "kde" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Bivariate).``" + ] } ], "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.2" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/examples/reference/elements/matplotlib/Bounds.ipynb b/examples/reference/elements/matplotlib/Bounds.ipynb index db7d70f90c..9bca25705e 100644 --- a/examples/reference/elements/matplotlib/Bounds.ipynb +++ b/examples/reference/elements/matplotlib/Bounds.ipynb @@ -57,6 +57,13 @@ "source": [ "penguins * penguins[-0.15:0.2, -0.4:0, 'G'] * hv.Bounds((-0.15, -0.4, 0.2, 0))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Bounds).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Box.ipynb b/examples/reference/elements/matplotlib/Box.ipynb index c9d54f9423..3add4f43eb 100644 --- a/examples/reference/elements/matplotlib/Box.ipynb +++ b/examples/reference/elements/matplotlib/Box.ipynb @@ -64,6 +64,13 @@ "data[np.arange(30, 70), np.arange(30, 70)] = -3\n", "hv.Image(data) * hv.Box(-0, 0, 0.25, aspect=3, orientation=-np.pi/4)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Box).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/BoxWhisker.ipynb b/examples/reference/elements/matplotlib/BoxWhisker.ipynb index abfe2d1cea..a1308c8079 100644 --- a/examples/reference/elements/matplotlib/BoxWhisker.ipynb +++ b/examples/reference/elements/matplotlib/BoxWhisker.ipynb @@ -62,11 +62,18 @@ "metadata": {}, "outputs": [], "source": [ - "%%opts BoxWhisker [width=600 height=400 show_legend=False] (whisker_color='gray' color='white')\n", + "%%opts BoxWhisker [aspect=2 fig_size=200 show_legend=False] (whiskerprops={'color': 'gray'})\n", "groups = [chr(65+g) for g in np.random.randint(0, 3, 200)]\n", "hv.BoxWhisker((groups, np.random.randint(0, 5, 200), np.random.randn(200)),\n", " ['Group', 'Category'], 'Value').sort()" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.BoxWhisker).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Contours.ipynb b/examples/reference/elements/matplotlib/Contours.ipynb index 9d865a14dc..bfe783d01f 100644 --- a/examples/reference/elements/matplotlib/Contours.ipynb +++ b/examples/reference/elements/matplotlib/Contours.ipynb @@ -67,6 +67,13 @@ "z0, z1 = img.range('z')\n", "img + hv.operation.contours(img, levels=5)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Contours).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Curve.ipynb b/examples/reference/elements/matplotlib/Curve.ipynb index 0e943349db..fea9d8c237 100644 --- a/examples/reference/elements/matplotlib/Curve.ipynb +++ b/examples/reference/elements/matplotlib/Curve.ipynb @@ -74,6 +74,13 @@ "hv.NdOverlay({interp: hv.Curve(points[::8]).opts(plot=dict(interpolation=interp))\n", " for interp in ['linear', 'steps-mid', 'steps-pre', 'steps-post']})" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Curve).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Distribution.ipynb b/examples/reference/elements/matplotlib/Distribution.ipynb index af3d0027b8..145f7cff90 100644 --- a/examples/reference/elements/matplotlib/Distribution.ipynb +++ b/examples/reference/elements/matplotlib/Distribution.ipynb @@ -63,7 +63,8 @@ "outputs": [], "source": [ "%%opts Distribution [filled=False] (alpha=1)\n", - "hv.NdOverlay({bw: hv.Distribution(normal).opts(plot=dict(bandwidth=bw)) for bw in [0.05, 0.1, 0.5, 1]})" + "hv.NdOverlay({bw: hv.Distribution(normal).opts(plot=dict(bandwidth=bw))\n", + " for bw in [0.05, 0.1, 0.5, 1]}, 'Bandwidth')" ] }, { @@ -106,25 +107,19 @@ "kde = univariate_kde(dist, bin_range=(-4, 4), bw_method='silverman', n_samples=20)\n", "kde" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Distribution).``" + ] } ], "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.2" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/examples/reference/elements/matplotlib/Ellipse.ipynb b/examples/reference/elements/matplotlib/Ellipse.ipynb index c6bc2bb608..cf91d51a08 100644 --- a/examples/reference/elements/matplotlib/Ellipse.ipynb +++ b/examples/reference/elements/matplotlib/Ellipse.ipynb @@ -65,6 +65,13 @@ "clusters = hv.Points(c1) * hv.Points((c2x, c2y)) * hv.Points(c3)\n", "clusters * hv.Ellipse(0,0, 4, orientation=np.pi/5, aspect=2) " ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Ellipse).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/ErrorBars.ipynb b/examples/reference/elements/matplotlib/ErrorBars.ipynb index f37b2687bf..074baf9af9 100644 --- a/examples/reference/elements/matplotlib/ErrorBars.ipynb +++ b/examples/reference/elements/matplotlib/ErrorBars.ipynb @@ -76,6 +76,13 @@ "errors = [(0.1*i, np.sin(0.1*i), np.random.rand()/2, np.random.rand()/4) for i in np.linspace(0, 100, 11)]\n", "hv.Curve(errors) * hv.ErrorBars(errors, vdims=['y', 'yerrneg', 'yerrpos'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.ErrorBars).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Graph.ipynb b/examples/reference/elements/matplotlib/Graph.ipynb index 4c2356fb65..fc935c5c8a 100644 --- a/examples/reference/elements/matplotlib/Graph.ipynb +++ b/examples/reference/elements/matplotlib/Graph.ipynb @@ -122,6 +122,13 @@ "graph.redim.range(**padding).opts(plot=dict(color_index='Type', edge_color_index='Weight'),\n", " style=dict(cmap=['blue', 'red'], edge_cmap='viridis'))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Graph).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/HLine.ipynb b/examples/reference/elements/matplotlib/HLine.ipynb index 8d6a7ca1bc..bbd7f102c6 100644 --- a/examples/reference/elements/matplotlib/HLine.ipynb +++ b/examples/reference/elements/matplotlib/HLine.ipynb @@ -42,6 +42,13 @@ "ys = np.random.normal(size=100) * xs\n", "hv.Points((xs,ys)) * hv.HLine(ys.mean())" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HLine).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/HSV.ipynb b/examples/reference/elements/matplotlib/HSV.ipynb index f43ee5043e..051d549e0b 100644 --- a/examples/reference/elements/matplotlib/HSV.ipynb +++ b/examples/reference/elements/matplotlib/HSV.ipynb @@ -81,6 +81,13 @@ "print(hsv.rgb)\n", "hsv.rgb[..., 'R'] + hsv.rgb[..., 'G'] + hsv.rgb[..., 'B']" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HSV).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/HeatMap.ipynb b/examples/reference/elements/matplotlib/HeatMap.ipynb index 5302c7ff40..01b3272efd 100644 --- a/examples/reference/elements/matplotlib/HeatMap.ipynb +++ b/examples/reference/elements/matplotlib/HeatMap.ipynb @@ -79,6 +79,13 @@ "hv.HeatMap((np.random.randint(0, 10, 100), np.random.randint(0, 10, 100),\n", " np.random.randn(100), np.random.randn(100)), vdims=['z', 'z2']).redim.range(z=(-2, 2))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HeatMap).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Histogram.ipynb b/examples/reference/elements/matplotlib/Histogram.ipynb index b685f366f0..f875400bf1 100644 --- a/examples/reference/elements/matplotlib/Histogram.ipynb +++ b/examples/reference/elements/matplotlib/Histogram.ipynb @@ -103,6 +103,13 @@ " for dim in 'xy')\n", "(points2 * points) << yhist(plot=dict(width=125)) << xhist(plot=dict(height=125))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Histogram).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Image.ipynb b/examples/reference/elements/matplotlib/Image.ipynb index c9a0ae062e..8a921b6ac7 100644 --- a/examples/reference/elements/matplotlib/Image.ipynb +++ b/examples/reference/elements/matplotlib/Image.ipynb @@ -100,7 +100,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "One additional way to create Image objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications." + "One additional way to create Image objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Image).``" ] } ], diff --git a/examples/reference/elements/matplotlib/ItemTable.ipynb b/examples/reference/elements/matplotlib/ItemTable.ipynb index fee8ba6de2..6150d71c52 100644 --- a/examples/reference/elements/matplotlib/ItemTable.ipynb +++ b/examples/reference/elements/matplotlib/ItemTable.ipynb @@ -39,6 +39,13 @@ "source": [ "hv.ItemTable([('Age', 10), ('Weight',15), ('Height','0.8 meters')])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.ItemTable).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Path.ipynb b/examples/reference/elements/matplotlib/Path.ipynb index 68c490d972..059d4bc9c2 100644 --- a/examples/reference/elements/matplotlib/Path.ipynb +++ b/examples/reference/elements/matplotlib/Path.ipynb @@ -111,6 +111,13 @@ "hv.Path((np.arange(N), np.random.rand(N, NLINES) + np.arange(NLINES)[np.newaxis, :])) *\\\n", "hv.Path((np.arange(N), np.random.rand(N, NLINES) + np.arange(NLINES)[np.newaxis, :]))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Path).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Points.ipynb b/examples/reference/elements/matplotlib/Points.ipynb index ebecc2dfff..a947d073d5 100644 --- a/examples/reference/elements/matplotlib/Points.ipynb +++ b/examples/reference/elements/matplotlib/Points.ipynb @@ -97,7 +97,9 @@ "source": [ "**Note**: Although the ``Scatter`` element is superficially similar to the [``Points``](./Points.ipynb) element (they can generate plots that look identical), the two element types are semantically quite different. The fundamental difference is that [``Points``](./Points.ipynb) are used to visualize data where the *y* variable is *dependent*. This semantic difference also explains why the histogram generated by ``hist`` call above visualizes the distribution of a different dimension than it does for [``Scatter``](./Scatter.ipynb).\n", "\n", - "This difference means that ``Points`` naturally combine elements that express independent variables in two-dimensional space, for instance [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb). Similarly, ``Scatter`` expresses a dependent relationship in two-dimensions and combine naturally with ``Chart`` types such as [``Curve``](./Curve.ipynb)." + "This difference means that ``Points`` naturally combine elements that express independent variables in two-dimensional space, for instance [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb). Similarly, ``Scatter`` expresses a dependent relationship in two-dimensions and combine naturally with ``Chart`` types such as [``Curve``](./Curve.ipynb).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Points).``" ] } ], diff --git a/examples/reference/elements/matplotlib/Polygons.ipynb b/examples/reference/elements/matplotlib/Polygons.ipynb index 6f4ce671bc..892398e763 100644 --- a/examples/reference/elements/matplotlib/Polygons.ipynb +++ b/examples/reference/elements/matplotlib/Polygons.ipynb @@ -82,6 +82,13 @@ "hv.Polygons([{('x', 'y'): hv.Box(0, 0, i).array(), 'z': i} for i in range(10)[::-1]], vdims='z') +\\\n", "hv.Polygons([{('x', 'y'): hv.Ellipse(0, 0, (i, i)).array(), 'z': i} for i in range(10)[::-1]], vdims='z')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Polygons).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/QuadMesh.ipynb b/examples/reference/elements/matplotlib/QuadMesh.ipynb index f68a09346f..5b30391528 100644 --- a/examples/reference/elements/matplotlib/QuadMesh.ipynb +++ b/examples/reference/elements/matplotlib/QuadMesh.ipynb @@ -84,7 +84,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "To use an interactive hover tool to inspect the sample values, you can use ``QuadMesh`` with the hover tool in the [Bokeh backend](../bokeh/QuadMesh.ipynb)" + "To use an interactive hover tool to inspect the sample values, you can use ``QuadMesh`` with the hover tool in the [Bokeh backend](../bokeh/QuadMesh.ipynb).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.QuadMesh).``" ] } ], diff --git a/examples/reference/elements/matplotlib/RGB.ipynb b/examples/reference/elements/matplotlib/RGB.ipynb index 88af52873a..adaa2752ba 100644 --- a/examples/reference/elements/matplotlib/RGB.ipynb +++ b/examples/reference/elements/matplotlib/RGB.ipynb @@ -112,7 +112,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "One additional way to create RGB objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications." + "One additional way to create RGB objects is via the separate [ImaGen](http://ioam.github.io/imagen) library, which creates parameterized streams of images for experiments, simulations, or machine-learning applications.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.RGB).``" ] } ], diff --git a/examples/reference/elements/matplotlib/Raster.ipynb b/examples/reference/elements/matplotlib/Raster.ipynb index 2cd625fbce..fdaab74192 100644 --- a/examples/reference/elements/matplotlib/Raster.ipynb +++ b/examples/reference/elements/matplotlib/Raster.ipynb @@ -46,7 +46,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - " The coordinate system of a ``Raster`` is the raw indexes of the underlying array, with integer values always starting from (0,0) in the top left, with default extents corresponding to the shape of the array. For a similar element used to visualize arrays but defined in a continuous Cartesian coordinate system, use the [``Image``](./Image.ipynb) element." + "The coordinate system of a ``Raster`` is the raw indexes of the underlying array, with integer values always starting from (0,0) in the top left, with default extents corresponding to the shape of the array. For a similar element used to visualize arrays but defined in a continuous Cartesian coordinate system, use the [``Image``](./Image.ipynb) element.\n", + " \n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Raster).``" ] } ], diff --git a/examples/reference/elements/matplotlib/Scatter.ipynb b/examples/reference/elements/matplotlib/Scatter.ipynb index 74f6a5f88c..8f04064024 100644 --- a/examples/reference/elements/matplotlib/Scatter.ipynb +++ b/examples/reference/elements/matplotlib/Scatter.ipynb @@ -101,7 +101,9 @@ "source": [ "**Note**: Although the ``Scatter`` element is superficially similar to the [``Points``](./Points.ipynb) element (they can generate plots that look identical), the two element types are semantically quite different: ``Points`` are used to visualize data where the *y* variable is *dependent*. This semantic difference also explains why the histogram generated by ``hist`` call above visualizes the distribution of a different dimension than it does for [``Points``](./Points.ipynb).\n", "\n", - "This difference means that ``Scatter`` naturally combine elements that express dependent variables in two-dimensional space such as the ``Chart`` types, such as [``Curve``](./Curve.ipynb). Similarly, ``Points`` express a independent relationship in two-dimensions and combine naturally with [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb)." + "This difference means that ``Scatter`` naturally combine elements that express dependent variables in two-dimensional space such as the ``Chart`` types, such as [``Curve``](./Curve.ipynb). Similarly, ``Points`` express a independent relationship in two-dimensions and combine naturally with [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Scatter).``" ] } ], diff --git a/examples/reference/elements/matplotlib/Scatter3D.ipynb b/examples/reference/elements/matplotlib/Scatter3D.ipynb index cd8aed0149..decc217460 100644 --- a/examples/reference/elements/matplotlib/Scatter3D.ipynb +++ b/examples/reference/elements/matplotlib/Scatter3D.ipynb @@ -60,6 +60,13 @@ "%%opts Scatter3D [size_index='Size' scaling_factor=5] (marker='^')\n", "hv.Scatter3D(np.random.randn(100,4), vdims='Size') * hv.Scatter3D(np.random.randn(100,4)+2, vdims='Size')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Scatter3D).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Spikes.ipynb b/examples/reference/elements/matplotlib/Spikes.ipynb index 79909d8182..1fa924d88a 100644 --- a/examples/reference/elements/matplotlib/Spikes.ipynb +++ b/examples/reference/elements/matplotlib/Spikes.ipynb @@ -114,6 +114,13 @@ "points = hv.Points(np.random.randn(500, 2))\n", "points << hv.Spikes(points['y']) << hv.Spikes(points['x'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Spikes).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Spline.ipynb b/examples/reference/elements/matplotlib/Spline.ipynb index 710460daa5..c8c49e460e 100644 --- a/examples/reference/elements/matplotlib/Spline.ipynb +++ b/examples/reference/elements/matplotlib/Spline.ipynb @@ -46,7 +46,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The first argument to ``Splines`` are the control point positions and the integers in the second list are the control codes, as documented in the [matplotlib splines documentation](http://matplotlib.org/api/path_api.html)." + "The first argument to ``Splines`` are the control point positions and the integers in the second list are the control codes, as documented in the [matplotlib splines documentation](http://matplotlib.org/api/path_api.html).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Spline).``" ] } ], diff --git a/examples/reference/elements/matplotlib/Spread.ipynb b/examples/reference/elements/matplotlib/Spread.ipynb index e7ef6b684d..6da7cc0bf4 100644 --- a/examples/reference/elements/matplotlib/Spread.ipynb +++ b/examples/reference/elements/matplotlib/Spread.ipynb @@ -79,6 +79,13 @@ "hv.Spread((xs, np.sin(xs), 0.1+np.random.rand(len(xs)), 0.1+np.random.rand(len(xs))),\n", " vdims=['y', 'yerrneg', 'yerrpos'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Spread).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Surface.ipynb b/examples/reference/elements/matplotlib/Surface.ipynb index 73dc3ac87f..05a6bdca46 100644 --- a/examples/reference/elements/matplotlib/Surface.ipynb +++ b/examples/reference/elements/matplotlib/Surface.ipynb @@ -66,6 +66,13 @@ "surface = hv.Surface((xs, ys, Z))\n", "surface + surface.opts(plot=dict(plot_type='wireframe')) + surface.opts(plot=dict(plot_type='contour'))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Surface).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/Table.ipynb b/examples/reference/elements/matplotlib/Table.ipynb index a0986f508f..5dea403822 100644 --- a/examples/reference/elements/matplotlib/Table.ipynb +++ b/examples/reference/elements/matplotlib/Table.ipynb @@ -113,7 +113,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "For more extended usage of table conversion see the [Tabular Data](../../../user_guide/07-Tabular_Datasets.ipynb) user guide." + "For more extended usage of table conversion see the [Tabular Data](../../../user_guide/07-Tabular_Datasets.ipynb) user guide.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Table).``" ] } ], diff --git a/examples/reference/elements/matplotlib/Text.ipynb b/examples/reference/elements/matplotlib/Text.ipynb index f97edeff6c..d90fbf4116 100644 --- a/examples/reference/elements/matplotlib/Text.ipynb +++ b/examples/reference/elements/matplotlib/Text.ipynb @@ -41,6 +41,13 @@ "xs = np.linspace(-5,5,100)\n", "hv.Curve((xs,-(xs-2)**2)) * hv.Text(0, -30, 'Quadratic Curve')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Text).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/TriMesh.ipynb b/examples/reference/elements/matplotlib/TriMesh.ipynb index 312d4d1a30..ea0d730755 100644 --- a/examples/reference/elements/matplotlib/TriMesh.ipynb +++ b/examples/reference/elements/matplotlib/TriMesh.ipynb @@ -154,25 +154,19 @@ "%%opts TriMesh [filled=True edge_color_index='z' fig_size=200] (cmap='viridis')\n", "hv.TriMesh((simplices, hv.Points(nodes, vdims='z')))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.TriMesh).``" + ] } ], "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.3" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/examples/reference/elements/matplotlib/Trisurface.ipynb b/examples/reference/elements/matplotlib/Trisurface.ipynb index e28fc5e8a0..546c0010ff 100644 --- a/examples/reference/elements/matplotlib/Trisurface.ipynb +++ b/examples/reference/elements/matplotlib/Trisurface.ipynb @@ -74,6 +74,13 @@ "surface = hv.Trisurface((x, y, z), label='Moebius band')\n", "surface" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Trisurface).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/VLine.ipynb b/examples/reference/elements/matplotlib/VLine.ipynb index 1586b2ec22..9b37c9984b 100644 --- a/examples/reference/elements/matplotlib/VLine.ipynb +++ b/examples/reference/elements/matplotlib/VLine.ipynb @@ -42,6 +42,13 @@ "ys = -(xs-2)**2\n", "hv.Curve((xs,ys)) * hv.VLine(xs[ys.argmax()])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.VLine).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/matplotlib/VectorField.ipynb b/examples/reference/elements/matplotlib/VectorField.ipynb index 4924988fd2..681eca021a 100644 --- a/examples/reference/elements/matplotlib/VectorField.ipynb +++ b/examples/reference/elements/matplotlib/VectorField.ipynb @@ -16,7 +16,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "import numpy as np\n", @@ -34,7 +36,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "%%opts VectorField [size_index=3]\n", @@ -58,7 +62,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "%%opts VectorField [size_index=3] VectorField.A [color_index=2] VectorField.M [color_index=3]\n", @@ -75,7 +81,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "%%opts VectorField [color_index=2 size_index=3 rescale_lengths=False] (scale=4)\n", @@ -93,7 +101,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "xs, ys = np.arange(0, 2 * np.pi, .2), np.arange(0, 2 * np.pi, .2)\n", @@ -116,18 +126,40 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "%%opts VectorField [color_index=3 size_index=3 pivot='tip'] (cmap='fire' scale=0.8) Points (color='black' s=1)\n", "hv.VectorField((xs, ys, angle, mag)) * hv.Points((X.flat, Y.flat))" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.VectorField).``" + ] } ], "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", "name": "python", - "pygments_lexer": "ipython3" + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.1" } }, "nbformat": 4, diff --git a/examples/reference/elements/plotly/BoxWhiskers.ipynb b/examples/reference/elements/plotly/BoxWhiskers.ipynb index c5fd163158..594ef70956 100644 --- a/examples/reference/elements/plotly/BoxWhiskers.ipynb +++ b/examples/reference/elements/plotly/BoxWhiskers.ipynb @@ -67,6 +67,13 @@ "hv.BoxWhisker((groups, np.random.randint(0, 5, 200), np.random.randn(200)),\n", " ['Group', 'Category'], 'Value').sort()" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.BoxWhisker).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/Curve.ipynb b/examples/reference/elements/plotly/Curve.ipynb index a302af48d4..fd5b881aa9 100644 --- a/examples/reference/elements/plotly/Curve.ipynb +++ b/examples/reference/elements/plotly/Curve.ipynb @@ -73,6 +73,13 @@ "hv.NdOverlay({interp: hv.Curve(points[::8]).opts(plot=dict(interpolation=interp))\n", " for interp in ['linear', 'steps-mid', 'steps-pre', 'steps-post']})" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Curve).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/Distribution.ipynb b/examples/reference/elements/plotly/Distribution.ipynb index 7ad57b4dca..ae1dcd8a2a 100644 --- a/examples/reference/elements/plotly/Distribution.ipynb +++ b/examples/reference/elements/plotly/Distribution.ipynb @@ -57,6 +57,13 @@ "source": [ "hv.Distribution(np.random.randn(1000), label='#1') * hv.Distribution(np.random.randn(1000)+2, label='#2')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Distribution).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/ErrorBars.ipynb b/examples/reference/elements/plotly/ErrorBars.ipynb index f4c1ba841e..3cae9ab00b 100644 --- a/examples/reference/elements/plotly/ErrorBars.ipynb +++ b/examples/reference/elements/plotly/ErrorBars.ipynb @@ -76,6 +76,13 @@ "errors = [(0.1*i, np.sin(0.1*i), np.random.rand()/2, np.random.rand()/4) for i in np.linspace(0, 100, 11)]\n", "hv.Curve(errors) * hv.ErrorBars(errors, vdims=['y', 'yerrneg', 'yerrpos'])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.ErrorBars).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/HeatMap.ipynb b/examples/reference/elements/plotly/HeatMap.ipynb index cb69c56710..b626189a56 100644 --- a/examples/reference/elements/plotly/HeatMap.ipynb +++ b/examples/reference/elements/plotly/HeatMap.ipynb @@ -80,6 +80,13 @@ "hv.HeatMap((np.random.randint(0, 10, 100), np.random.randint(0, 10, 100),\n", " np.random.randn(100), np.random.randn(100)), vdims=['z', 'z2']).redim.range(z=(-2, 2)).sort()" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.HeatMap).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/Image.ipynb b/examples/reference/elements/plotly/Image.ipynb index 5519bb69b9..b615236da3 100644 --- a/examples/reference/elements/plotly/Image.ipynb +++ b/examples/reference/elements/plotly/Image.ipynb @@ -95,6 +95,13 @@ "source": [ "img.sample(x=0) + img.reduce(x=np.mean)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Image).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/ItemTable.ipynb b/examples/reference/elements/plotly/ItemTable.ipynb index 670b91ce49..4e97beadbc 100644 --- a/examples/reference/elements/plotly/ItemTable.ipynb +++ b/examples/reference/elements/plotly/ItemTable.ipynb @@ -39,6 +39,13 @@ "source": [ "hv.ItemTable([('Age', 10), ('Weight',15), ('Height','0.8 meters')])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.ItemTable).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/Points.ipynb b/examples/reference/elements/plotly/Points.ipynb index a849a48c8b..1014afe1ca 100644 --- a/examples/reference/elements/plotly/Points.ipynb +++ b/examples/reference/elements/plotly/Points.ipynb @@ -97,7 +97,9 @@ "source": [ "**Note**: Although the ``Scatter`` element is superficially similar to the [``Points``](./Points.ipynb) element (they can generate plots that look identical), the two element types are semantically quite different. The fundamental difference is that [``Points``](./Points.ipynb) are used to visualize data where the *y* variable is *dependent*. This semantic difference also explains why the histogram generated by ``hist`` call above visualizes the distribution of a different dimension than it does for [``Scatter``](./Scatter.ipynb).\n", "\n", - "This difference means that ``Points`` naturally combine elements that express independent variables in two-dimensional space, for instance [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb). Similarly, ``Scatter`` expresses a dependent relationship in two-dimensions and combine naturally with ``Chart`` types such as [``Curve``](./Curve.ipynb)." + "This difference means that ``Points`` naturally combine elements that express independent variables in two-dimensional space, for instance [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb). Similarly, ``Scatter`` expresses a dependent relationship in two-dimensions and combine naturally with ``Chart`` types such as [``Curve``](./Curve.ipynb).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Points).``" ] } ], diff --git a/examples/reference/elements/plotly/Raster.ipynb b/examples/reference/elements/plotly/Raster.ipynb index dab41a3a6d..c534332cdf 100644 --- a/examples/reference/elements/plotly/Raster.ipynb +++ b/examples/reference/elements/plotly/Raster.ipynb @@ -46,7 +46,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - " The coordinate system of a ``Raster`` is the raw indexes of the underlying array, with integer values always starting from (0,0) in the top left, with default extents corresponding to the shape of the array. For a similar element used to visualize arrays but defined in a continuous Cartesian coordinate system, use the [``Image``](./Image.ipynb) element." + "The coordinate system of a ``Raster`` is the raw indexes of the underlying array, with integer values always starting from (0,0) in the top left, with default extents corresponding to the shape of the array. For a similar element used to visualize arrays but defined in a continuous Cartesian coordinate system, use the [``Image``](./Image.ipynb) element.\n", + " \n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Raster).``" ] } ], diff --git a/examples/reference/elements/plotly/Scatter.ipynb b/examples/reference/elements/plotly/Scatter.ipynb index c4e337354d..83cde2c212 100644 --- a/examples/reference/elements/plotly/Scatter.ipynb +++ b/examples/reference/elements/plotly/Scatter.ipynb @@ -101,7 +101,9 @@ "source": [ "**Note**: Although the ``Scatter`` element is superficially similar to the [``Points``](./Points.ipynb) element (they can generate plots that look identical), the two element types are semantically quite different: ``Points`` are used to visualize data where the *y* variable is *dependent*. This semantic difference also explains why the histogram generated by ``hist`` call above visualizes the distribution of a different dimension than it does for [``Points``](./Points.ipynb).\n", "\n", - "This difference means that ``Scatter`` naturally combine elements that express dependent variables in two-dimensional space such as the ``Chart`` types, such as [``Curve``](./Curve.ipynb). Similarly, ``Points`` express a independent relationship in two-dimensions and combine naturally with [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb)." + "This difference means that ``Scatter`` naturally combine elements that express dependent variables in two-dimensional space such as the ``Chart`` types, such as [``Curve``](./Curve.ipynb). Similarly, ``Points`` express a independent relationship in two-dimensions and combine naturally with [``Raster``](./Raster.ipynb) types such as [``Image``](./Image.ipynb).\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Scatter).``" ] } ], diff --git a/examples/reference/elements/plotly/Scatter3D.ipynb b/examples/reference/elements/plotly/Scatter3D.ipynb index 5682665555..3ef4237d52 100644 --- a/examples/reference/elements/plotly/Scatter3D.ipynb +++ b/examples/reference/elements/plotly/Scatter3D.ipynb @@ -59,6 +59,13 @@ "%%opts Scatter3D [width=500 height=500] (symbol='x' size=2)\n", "hv.Scatter3D(np.random.randn(100,4), vdims='Size') * hv.Scatter3D(np.random.randn(100,4)+2, vdims='Size')" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Scatter3D).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/Surface.ipynb b/examples/reference/elements/plotly/Surface.ipynb index c033d76811..09cd76e23d 100644 --- a/examples/reference/elements/plotly/Surface.ipynb +++ b/examples/reference/elements/plotly/Surface.ipynb @@ -66,6 +66,13 @@ "surface = hv.Surface((xs, ys, Z))\n", "surface" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Surface).``" + ] } ], "metadata": { diff --git a/examples/reference/elements/plotly/Table.ipynb b/examples/reference/elements/plotly/Table.ipynb index 002987c020..e393cf1264 100644 --- a/examples/reference/elements/plotly/Table.ipynb +++ b/examples/reference/elements/plotly/Table.ipynb @@ -113,7 +113,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "For more extended usage of table conversion see the [Tabular Datasets](../../../user_guide/07-Tabular_Datasets.ipynb) user guide." + "For more extended usage of table conversion see the [Tabular Datasets](../../../user_guide/07-Tabular_Datasets.ipynb) user guide.\n", + "\n", + "For full documentation and the available style and plot options, use ``hv.help(hv.Table).``" ] } ], diff --git a/examples/reference/elements/plotly/Trisurface.ipynb b/examples/reference/elements/plotly/Trisurface.ipynb index e81e627bf5..58de5e1664 100644 --- a/examples/reference/elements/plotly/Trisurface.ipynb +++ b/examples/reference/elements/plotly/Trisurface.ipynb @@ -73,6 +73,13 @@ "surface = hv.Trisurface((x, y, z), label='Moebius band')\n", "surface" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For full documentation and the available style and plot options, use ``hv.help(hv.Trisurface).``" + ] } ], "metadata": {