-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugnotebook-outputverifiedVerification succeededVerification succeeded
Milestone
Description
Applies To
- Notebooks (.ipynb files)
- Interactive Window and/or Cell Scripts (.py files with #%% markers)
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
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'])
What's the actual result?
TypeError: e.map is not a function
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
TypeError: e.map is not a function
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
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugnotebook-outputverifiedVerification succeededVerification succeeded