-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to render Altair plot using boxplot on repeat with mimetype #8016
Comments
Thanks for reporting this issue, I can repro this at my end. |
Please use |
Interesting that option is not documented on that list https://altair-viz.github.io/user_guide/custom_renderers.html |
@DonJayamanne The docs have not been built in a while but you can see the full list in the repo: |
Thanks, will see what needs to be done at our end. |
Fixed, Testing instructions:
import altair as alt
from vega_datasets import data
# Show an image where the interactive plot is not supported
alt.renderers.enable('mimetype')
source = data.cars()
alt.Chart(source).mark_boxplot().encode(
x='Origin',
y=alt.Y(alt.repeat('column'), type='quantitative'),
).repeat(column=['Horsepower', 'Weight_in_lbs'])
|
Applies To
What happened?
Issue description
Jupyter in VSCode is unable to render the Altair plot. This happens when using boxplot on repeat and set the renderer to
mimetype
Steps to reproduce the issue
What's the actual result?
Additional details / screenshot
Altair Package Version
4.1.0
VS Code Version
Version: 1.61.2 Commit: 6cba118ac49a1b88332f312a8f67186f7f3c1643 Date: 2021-10-19T15:03:09.437Z Electron: 13.5.1 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin arm64 20.6.0
Jupyter Extension Version
v2021.9.1101343141
Jupyter logs
Coding Language and Runtime Version
Python v3.9.7 64-bit
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: