Open tbenst opened 10 months ago
I just tried this in both VS Code 1.86.0-insider and jupyterlab 4. For me it works fine with the HTML renderer in both environments. Could you try updating VS code to see if the problem goes away (or report which version of VSCode and Altair you see the issue with?)
Thanks kindly for checking!
altair 5.2.0
macOS 13.4
VSCode version:
Version: 1.85.2
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:11.430Z (1 wk ago)
Edit: I just realized that the issue only occurs when using remote-ssh
, in my case to a headless Linux machine. otherwise, the plot comes through fine. Also, the plot still saves to file correctly so it's exclusively a remote-ssh
display issue
Edit: I just realized that the issue only occurs when using remote-ssh, in my case to a headless Linux machine. otherwise, the plot comes through fine. Also, the plot still saves to file correctly so it's exclusively a remote-ssh display issue
Interesting, unfortunately I have don't have a good sense for why remote-ssh
would impact just the chart transformations and not the display.
Could you try to:
Or try it in a new notebook. Maybe an old version of Vega-Lite is still loaded from some other cell in that same notebook?
For this example: https://altair-viz.github.io/gallery/strip_plot_jitter.html
mimetype works, HTML backend does not. I think this is either a bug, or should be documented on the example page.
Tested using VSCode Interactive Python.