import numpy as np import holoviews as hv from holoviews import opts hv.extension('bokeh')
Text annotation is used to overlay text at a particular position on a plot:
xs = np.linspace(-5,5,100) hv.Curve((xs,-(xs-2)**2)) * hv.Text(0, -30, 'Quadratic Curve')
For full documentation and the available style and plot options, use
This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.