Rectangles or Similar - Fill with Hatch Pattern like Bokeh?

Is there a way to fill Rectangles or other geometry with Hatch Patterns like Bokeh?

See this link for Bokeh:


Mind filing an issue about this to remind me? For now you could try adding the option yourself:

import holoviews as hv
hv.Store.add_style_opts(hv.Polygons, ['hatch_pattern'], 'bokeh')

hv.Polygons([hv.Box(0, 0, 1)]).opts(hatch_pattern='x')

Although it seems like it’s not supported for the Rect glyph so you’d have to fall back to Polygons.

1 Like

Thanks for your help!