-
Notifications
You must be signed in to change notification settings - Fork 14
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
Getting 3D visualizations working again #240
Conversation
Let's not merge this until we merge #241 , so that we can use this PR as a test run for that new workflow |
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.
Nicely done, these changes look great and show up as expected in the rendered book!
Based on jupyter-book/jupyter-book#1950, it seems like that warning should not be an issue and can be either suppressed or the plotly rendering engine can be switch to an iframe jupyter-book/jupyter-book#2041
I found different syntax for how to enter the container interactively, so for reference this is what I used docker container run -it --rm -v $(pwd):/home/jovyan ubcdsci/py-intro-to-ds:20230831171718ddf538 /bin/bash
if you want you can make similar viz adjustments to these new 3d figs that you made previously
Hmm,I am not sure which changes you are referring to here.
Just the various syntax formatting stuff you did. It's really unimportant, because all the code is hidden anyway. |
No need for
|
I'm going to close and re-open this to try to trigger the new workflow from #241 |
Ah I see, I don't think that applies here since it was mostly altair-specific. |
New github actions workflow is working properly, but it will re-build the image on every change to the PR. I've now edited the workflow in e3701aa so that it should only run when the Dockerfile itself is changed, but I'm going to push an empty commit here to test it. |
354d073
to
4e73d60
Compare
OK, I've got the new workflow working properly. I force-pushed removal of a bunch of garbage commits while debugging, and I'm merging this now. |
One potential issue: I see
@joelostblom if you want you can make similar viz adjustments to these new 3d figs that you made previously
In order to test this, just run the docker container interactively (instead of using
build_html.sh
), installplotly
, and runjupyter-book build source
.NB: we will almost certainly have to have a build flag check for the PDF build and use a stored png version of these instead, but we can cross that bridge when we get to it