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

Plots not shown in HTML export for "vscode+notebook" renderer #4953

Open
BeaBoh opened this issue Dec 26, 2024 · 0 comments
Open

Plots not shown in HTML export for "vscode+notebook" renderer #4953

BeaBoh opened this issue Dec 26, 2024 · 0 comments

Comments

@BeaBoh
Copy link

BeaBoh commented Dec 26, 2024

Environment data

Version: 1.96.2 (user setup)
OS: Windows 11 Pro
Jupyter extension version: 2025.1.2024121801
Python Expension Version: 2024.22.1

Steps to reproduce

import plotly.express as px
fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
fig.show(renderer='vscode+notebook')

!jupyter nbconvert --to html filename.ipynb

Expected behaviour

Plots are visible when exporting to HTML

Actual Behaviour

Plots are shown in the notebook but they are not shown in the HTLM file

Side note: I am aware of microsoft/vscode-jupyter#6999 indeed i am using the solution found in that issue

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

No branches or pull requests

1 participant