gosling.js
gosling.js copied to clipboard
Support `responsiveSize` in Jupyter Notebooks
It looks like responsiveSize
is not working on Jupyter Notebooks/Labs, and I will need to address several issues. For example, those notebooks do not seem to set a fixed width to a cell container (similar issues on Altair, https://github.com/altair-viz/altair/issues/2057). Also, I would need to double-check if .embed()
function properly turns on our responsive options. If I set a fixed width to several containers of Gosling visualization, the responsive sizing works correctly.
Originally posted by @sehilyi in https://github.com/gosling-lang/gos/pull/85#pullrequestreview-862380704
Also related to #672