I wanted to change the yaxis formatter for a holoviews plot, but no plots are returned if the formatter is slightly more complex than the example in the docs.
from engineering_notation import EngNumber
a = hv.Curve(data = pd.DataFrame({'x':[1e6,1e9,1e12],'y':[1e6,1e9,1e12]}))
b = list(a.range('y'))
n_ticks = 5
a.opts(yticks=[(i,EngNumber(i)) for i in np.linspace(*(b+[n_ticks]))])
But this is not an ideal solution, as the ticks don’t change if you zoom in…