Skip to content

How to render plots in vscode/extra window? #213

Answered by shiosai
shiosai asked this question in Q&A
Discussion options

You must be logged in to vote

It seems one way would be as follows (open plot in browser):

import plotly.io as pio
pio.renderers.default="browser"
pio.show(pf["some_symbol"].plot())

EDIT: Even easier
pf["some_symbol"].plot().show()
and you can specify the renderer directly in show:
pf["some_symbol"].plot().show("browser")

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@polakowo
Comment options

@shiosai
Comment options

Answer selected by shiosai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants