-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Description
Description
The F# kernel should support returning the Plotly mime type:
https://github.com/plotly/plotly.py/blob/f65724f06b894a5db94245ee4889c632b887d8ce/plotly/offline/offline.py#L347
plotly/plotly.py#562 (comment)
Supporting this will allow notebooks to be previewed with plotly graphs in a safe way. Because this is not currently supported the graphs are rendered using HTML + JavaScript which cannot be safely rendered.
Repro steps
See this notebook: https://notebooks.azure.com/library/HorsesForCourses/html/Ages.ipynb
It includes a Plotly graph but the rendering is all HTML. But if you look at a Python notebook:
You can see with this Python notebook that includes the extra mime type response and that the chart renders: