Skip to content

Plot not showing up in Jupyter notebook (VSCode) #213

Answered by tpvasconcelos
krunolp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @krunolp! I think this might be a problem with VSCode and not ridgeplot.

Can you try running this simple plotly example and let me know if it works for you?

import plotly.express as px

fig = px.line(x=["a","b","c"], y=[1,3,2], title="sample figure")
fig.show()

You should see this:

If you don't maybe, this could help you: https://stackoverflow.com/questions/64849484/display-plotly-plot-inside-vs-code

As a workaround, you could try to call fig.show("browser") to open the figure in a new browser tab.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tpvasconcelos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #181 on October 08, 2024 14:27.