InteractiveDataDisplay
InteractiveDataDisplay copied to clipboard
Figure is misaligned if initialized being inside hidden div
Open HTML from repro.zip
repro.zip
Click on "MCMC traces"
you will see

After double-clicking on the plot it refreshes and becomes normal:

The possible cause for it is in idd.axis.js in updateSize function.
The function relays on div.outerHeight(false) and div.outerWidth(false), some of which can be zero due to hidden parent div.
Thus adaptive height selection for horizontal axis and adaptive width selection in vertical axis fails.