Point Draw Triangulate#
import holoviews as hv from holoviews import opts from holoviews.streams import PointDraw hv.extension('bokeh')
points = hv.Points([(0, 0), (0.5, 0.5), (1, 0)]) point_stream = PointDraw(data=points.columns(), source=points) trimesh = hv.DynamicMap(hv.TriMesh.from_vertices, streams=[point_stream])
(trimesh * points).opts( opts.Points(width=500, height=500, size=10, line_color='black', nonselection_alpha=0.3))
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.