-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update to altair 5.1.2 to fix histrogram chart #277
Conversation
@@ -18,7 +18,7 @@ RUN pip install docutils==0.17.1 # Need to pin docutils to an old version for no | |||
RUN pip install referencing | |||
RUN pip install jupyter-book | |||
# Pinning pandas until altair 5.1.2 to avoid future warning https://github.com/altair-viz/altair/issues/3181 | |||
RUN pip install numpy jinja2 pandas"<2.1" altair">=5.1.1" "vegafusion[embed]" vl-convert-python">=0.13" click ibis-framework ghp-import jupytext nodejs lxml | |||
RUN pip install numpy jinja2 pandas altair">=5.1.2" "vegafusion[embed]" vl-convert-python">=0.14" click ibis-framework ghp-import jupytext nodejs lxml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the vl-convert bump is needed to go with altair 5.1.2 and the pandas restriction is no longer necessary as that warning was removed in 5.1.2
nevermind it did, it just thinks that the dockerfile wasn't edited...ugh
fixed, edited the dockerfile with an empty commit to trigger the deploy preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The chart above the "Choosing a binwidth" heading is not showing up correctly (the histograms are missing). I am not sure what the exact issue is but upgrading altair in the docker image and rebuilding fixed it for me locally, so I'm suggesting we do that.
Oddly enough this issue does not show up in jupyter lab, just when building the charts via jupyter book.
Current:
After fix (the figure number is different because I didnt' build the entire book locally to save time):