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

Issue viewing Panel/hvPlot/Bokeh Figures #1488

Open
mgrover1 opened this issue Aug 22, 2024 · 5 comments
Open

Issue viewing Panel/hvPlot/Bokeh Figures #1488

mgrover1 opened this issue Aug 22, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mgrover1
Copy link

mgrover1 commented Aug 22, 2024

Description

We are seeing an issue with rendering panel/bokeh visualizations, as described in this issue
openradar/erad2024#81

Proposed solution

Not really sure - we tried specifying the extension (as is required with jupyterbook rendering), but that did not resolve the issue.

We tried resolving it with this PR
openradar/erad2024#82

Additional notes

This worked with the previous jupyterbook build system, but is now failing with migrating to only using myst.

@mgrover1 mgrover1 added the bug Something isn't working label Aug 22, 2024
@rowanc1
Copy link
Member

rowanc1 commented Aug 22, 2024

Thanks for the bug report. cc @stevejpurves

@kmuehlbauer
Copy link

@rowanc1 Did you or someone else had time to look into this? Please let us know, of we can be of any further assistance to get to the bottom of the issue. Thanks!

@stevejpurves stevejpurves self-assigned this Sep 6, 2024
@stevejpurves
Copy link
Contributor

@kmuehlbauer if I get some code examples from here (https://hvplot.holoviz.org/user_guide/Plotting.html) and work with that in an ipynb file that would be representative of your usage?

(Asking as I see you generating notebooks differently in the linked issue and IIRC there are various bokeh/panel options when plotting in notebooks)

@kmuehlbauer
Copy link

kmuehlbauer commented Sep 6, 2024

Thanks for the attention @stevejpurves.

So basically our use of hvplot works in the running notebook. What we are trying to achieve is to render the notebook using nbconvert's ExecutePreprocessor, to later build with myst. This somehow worked back in 2022 with jupyter-book directly (IIRC, without nbconvert).

We tried to use myst --execute incantation, but this didn't work out for some reason, so I went for the nbconvert-approach. I'm happily assisting in getting this resolved.

@kmuehlbauer
Copy link

And yes, those examples are representing our use case, more or less..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants