There seem to be visual artifacts introduced by
holoviews.operation.datashader.datashade for line plots, that are not present when using datashader directly.
I tried this:
import holoviews as hv import numpy as np from holoviews.operation.datashader import datashade from holoviews import opts N = 10 x = np.linspace(0, 1000, N) y = np.sin(x / 30) d = np.stack([x, y], axis=1) c = hv.Path(d, group='G', label='c1') opts = hv.opts.RGB(width=1000, height=500) c = datashade(c, line_width=3.0).opts(opts) c
You can see sharp barbs in the lines at regular intervals. It seems like there are a lot of choices and options related to rasterization and aggregation, but before I take that plunge I thought I’d ask here since I’m quite inexperienced.
See the next reply for the direct datashader result.
Any ideas what to do about this, greatly appreciated!