You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the21st
changed the title
alt.Chart.from_json slow after jupyter upgrade
alt.Chart.from_json slow after upgrading jsonschema from 3.x to 4.x
Oct 13, 2021
I tested all of the below with altair version 4.1.0.
I recently upgraded my jupyter stack to the following versions:
notebook==6.4.4
ipython==7.28.0
ipykernel==6.4.1
Update: The culprit downstream dependency is
jsonschema==4.1.0
Since then,
alt.Chart.from_json(spec)
takes 2.6 seconds on my machine. Code to reproduce:Running the same code on an older version
jsonschema==3.2.0
executes in 0.03 seconds.Note that I am not yet passing any data to altair, just a data-less vega-lite spec.
The text was updated successfully, but these errors were encountered: