Skip to content

recommendation for using plotly? #333

@jkitchin

Description

@jkitchin

A src block like

import plotly.graph_objects as go

f = go.Figure(go.Scatter(x=[1, 2, 3], y=[5, 8, 9]))
f.show()

generates a lot of html. For me that causes a few issues, usually emacs chokes trying to fontify it, and it isn't helpful to see it, I would rather see the rendered html!

Any recommendation for handling this? I could see dumping it to a file and opening it in a browser. That isn't quite right here, it looks like the html is not complete enough to be rendered, but in general what do you do when your code outputs a lot of html code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions