Open pjvalla opened 5 years ago
Should I just attach the 2 files needed to run it?
I had a similar problem and was able to perform rounding by using the format string '{0f}' (inplace of '{int}'.
In context:
hover_water = HoverTool(tooltips=[('Discrete Freq', '@{Discrete Freq}'), ('Spectral Slice', '@{Spectral Slice}{0f}'), ('Power dB', '@{PowerdB}')])
Have one question when using a custom hovertool on an aggregated set of points.
here are the column names of the points type (Notice the multi-level index):
Using the built in hover works fine.
But I need to round the "Spectral Slice" values. I was going about it like this.
This returns an invalid hovertool.
Is there a way to reference the muli-level index?