Bug Description
Volatility visualizations no longer appear correctly in the vega editor likely due to an update (or updates) to vega breaking our templating.
(optional) resize your browser window and observe the smooshed graph that should appear
Expected behavior
The graph renders in the correct proportions, and with no need to resize the browser window
Screenshots
Pre-resize no graph
Post-resize smooshed graph
Computation Environment
OS: Linux Mint 193.
QIIME 2: 2020.2
Web Browser: Chromium, but Firefox experiences nearly identical behavior
Comments
On Chromium a single resize of my browser window takes the width from 0 to 203 according to the 'width' text box. subsequent resizings of the window change nothing. On Firefox it goes from 0 to 218, and sometimes subsequent resizings do change the width further.
I notice the doodads on the bottom to render without resizing they're just all smooshed up. Additionally I can't actually manually enter a width on either browser though the other controls may be interacted with as normal on both browsers.
Changing the schema version from 4.0 to 5.12.3 changes nothing about the behavior, but does get rid of the warning.
This issue may have something to do with the autosize field. At any rate that appears to be what allows the plot to resize so that it shows up after a window resize. I was unable to produce a satisfactory result by messing with this field alone, but it did substantially alter the behavior observed.
Bug Description Volatility visualizations no longer appear correctly in the vega editor likely due to an update (or updates) to vega breaking our templating.
Steps to reproduce the behavior
Expected behavior The graph renders in the correct proportions, and with no need to resize the browser window
Screenshots Pre-resize no graph
Post-resize smooshed graph
Computation Environment
Comments
autosize
field. At any rate that appears to be what allows the plot to resize so that it shows up after a window resize. I was unable to produce a satisfactory result by messing with this field alone, but it did substantially alter the behavior observed.References