Skip to content
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

Merged
merged 7 commits into from
Nov 10, 2023
Merged

Update to altair 5.1.2 to fix histrogram chart #277

merged 7 commits into from
Nov 10, 2023

Conversation

joelostblom
Copy link
Collaborator

@joelostblom joelostblom commented Oct 11, 2023

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:
image

After fix (the figure number is different because I didnt' build the entire book locally to save time):
image

@@ -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
Copy link
Collaborator Author

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

@trevorcampbell
Copy link
Contributor

trevorcampbell commented Nov 8, 2023

Hmm, why didn't github actions run on this PR?...

nevermind it did, it just thinks that the dockerfile wasn't edited...ugh

(but also need to change the triggers for the other workflows. some bugs there)

fixed, edited the dockerfile with an empty commit to trigger the deploy preview

Copy link

github-actions bot commented Nov 8, 2023

Hello! I've built a preview of your PR so that you can compare it to the current main branch.

  • PR deploy preview available here
  • Current main deploy preview available here
  • Public production build available here

Copy link
Contributor

@trevorcampbell trevorcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trevorcampbell trevorcampbell merged commit ba4b252 into main Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants