Skip to content

.Net Interactive using Svg (or other static) images? #65

@nhirschey

Description

@nhirschey

Description

I want to use pandoc to convert a f# .ipynb notebook containing Plotly.NET figures to pdf. However, the conversion does not show any figures in the pdf output. I think that the issue is that Plotly.NET.Interactive renders them using javascript that gets ignored by pandoc.

pandoc notebook.ipynb -o notebook.html works fine and includes figures. But pandoc notebook.ipynb -o notebook.pdf does not have any figures in it.

This resolved pandoc issue (jgm/pandoc#6430) suggests that the conversion should be fine in python notebooks using plotly.io.renderers.default = "svg".

Can we allow a similar option in Plotly.NET.Interactive? Pandoc interop is useful because .net interactive does not have a way to save the file as a pdf or html file.

Workarounds

A current workaround to get pdf output is to use pandoc to convert to html, then use the browser's save as pdf feature to product a pdf.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions