Hello. How are you?
With the same motivation as the one expressed on [Colorbar Span / Custom tick],(Colorbar Span / Custom tick) I want to map my heatmap colorbar into a more broad scale. Instead of adding custom ticks (which doesn’t seem viable right now), I opted to try to create a kind of box plot (world score on the image below).
The plot shown was done with the code present here.
My problem is that when I change the size of the container where the plot is displayed the labels do not resize correctly:
I think I potentially can fix the issue by using a CustomJS callback, triggered when the plot width changes but I couldn’t find a way to trigger the callback at that instant. Is there any way to do that and if so could you point me to the correct way to do it?
I’m also open to any other strategy to generate the type of plot presented.