You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a holomap, where there are small differences in the elements of the kdims, and I create an Overlay, not all the elements are listed in the legend:
labels = [1.000,1.001,1.002]
hmap = hv.HoloMap([(label, hv.Curve([(label,label)])) for label in labels], kdims=['Test'])
hmap.overlay('Test')
labels = [0,0.001,0.002]
hmap = hv.HoloMap([(label, hv.Scatter([(label,label)])) for label in labels], kdims=['Test'])
hmap.overlay('Test')
While this works as expected: it shows all items in the legend.
I understand that it can be uggly to show long numbers, but if any round-off has to be done, better show three legend items.
Is there a way to customize this?
The text was updated successfully, but these errors were encountered:
I'll be pushing a fix to this very soon. Basically Dimensions have had formatters and type_formatters for a while now but they were awkward to use because you always had to supply the formatter as a function. Now it accepts both string formatter styles. If you want to override the formatting applied to dimension values by type you can simply increase the number of significant figures you want printed:
When I have a holomap, where there are small differences in the elements of the kdims, and I create an Overlay, not all the elements are listed in the legend:
While this works as expected: it shows all items in the legend.
I understand that it can be uggly to show long numbers, but if any round-off has to be done, better show three legend items.
Is there a way to customize this?
The text was updated successfully, but these errors were encountered: