I noticed DynamicMap sometimes iterates through all instances when axiswise normalization is used. See example below, print(x) tells me it is actually evaluating the function. Not entirely sure if this is a bug or can easily be avoided somehow.
%%opts Curve {+axiswise +framewise}
def plot(x):
print(x)
xx = np.linspace(-x,x,101)
p1 = hv.Curve(zip(xx,xx))
return p1+p1
vals = {'x': np.linspace(1,10,10)}
hv.DynamicMap(plot,kdims='x').redim.values(x=range(1,11)) #Run through all x, does normalize as expected
# hv.DynamicMap(plot,kdims='x').redim.range(x=(1,10)) #Only initializes x=1, but doesn´t normalize properly
I noticed DynamicMap sometimes iterates through all instances when axiswise normalization is used. See example below, print(x) tells me it is actually evaluating the function. Not entirely sure if this is a bug or can easily be avoided somehow.