Skip to content

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

Closed
@BeaBoh

Description

@BeaBoh

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

Metadata

Metadata

Assignees

Labels

P1needed for current cyclebugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions