Text

Title
Text Element
Dependencies
Matplotlib
Backends
Matplotlib
Bokeh
In [1]:
import numpy as np
import holoviews as hv
hv.extension('matplotlib')

The Text annotation is used to overlay text at a particular position on a plot:

In [2]:
%%opts Curve (color='#D3D3D3')
xs = np.linspace(-5,5,100)
hv.Curve((xs,-(xs-2)**2))  * hv.Text(0, -30, 'Quadratic Curve')
Out[2]:

Download this notebook from GitHub (right-click to download).