Does this happen when the emperor plots have too many samples? I think mine has ~10k samples.
Attaching the file as well:
Weird thing is I replicated the error with a small emperor file with only 20 samples or so. But then upon reloading it, it worked so it seems like there’s a limit to what Vega can handle?
Just reupdated to same version as you. So strange! Because I also have an M1 and a remote M4 mini and both give the same error. Tried disabling adblocker extensions and going incognito.
Here is an error I output I get sometimes (other times its just blank)
I am also getting this issue on Firefox and Safari on multiple qiime2 qzv. (example: Moving Picture tutorial PCOA)
So I think I know why its erroring but I have no solution. I found this warning at the bottom of the moving picture tutorial viz. Its also at the bottom of your viz but the spec is so long that it takes a while of scrolling to get to it.
[Warning] The specification expects Vega-Lite v5 but the editor uses v6.2.0.
From this error I understand that QIIME 2 is using a vega v5 spec and the editor only uses v6.2.0 making the spec rendered by QIIME 2 completely useless in the vega online editor. I will discuss this with our software team and let you know what our path forward is regarding this bug.
Oddly, I was still able reproduce this error. Although as @gregcaporaso pointed out changing the $schema from v5 to v6 fixed the issue. However, after reloading a couple of times the I can’t reproduce the error anymore.
Hi @cherman2@yoshiki, after changing $schema to v6 it works!! thank you!
When i try a bigger file (attached) I get a blank screen but I imagine this is because Vega has an upper limit on how many samples it can show? If not, I can open a new post for this.
It is interesting. Changing v5.json to V6.json was required for first .qzv file. Change was not required for subsequent .qzv files. They open fine with v5.json.