
Hello,
I need to plot a number of functions defined analytically (via
CustomJSExpr). As far as I understand, Bokeh requires using explicitly
set x array for plot. But amount of (x,y) points that are actually
needed to draw plot lines depend heavily on the range selected by user:
as range becomes smaller, x points should be placed more densely to
keep plots accurate. And using small steps for x over the whole range is
undesirable because functions are quite costly to re-evaluate after
their parameters are interactively changed.
I’ve looked at topic
but I haven’t identified an example which is close enough to my case.
What I’d like to have is not actually a downsampling of dataset, but
dynamic generation of “dataset” (i.e., x values).
Any ideas?


