Pluto.jl: Plotly (and PlotlyJS) don't appear in static HTML

Created on 9 Oct 2020  ·  6Comments  ·  Source: fonsp/Pluto.jl

^ title 📉

This is related to:

  • #108
  • #457

MWE:

### A Pluto.jl notebook ###
# v0.12.3

using Markdown
using InteractiveUtils

# ╔═╡ 3c79b212-0a72-11eb-236d-7902a0104d26
using Plots

# ╔═╡ 45d77630-0a72-11eb-3b86-51a988c82855
plotlyjs() # same with plotly()

# ╔═╡ c0250db2-0a74-11eb-0707-49cc70509019
plot(Plots.fakedata(50,5))

# ╔═╡ Cell order:
# ╠═3c79b212-0a72-11eb-236d-7902a0104d26
# ╠═45d77630-0a72-11eb-3b86-51a988c82855
# ╠═c0250db2-0a74-11eb-0707-49cc70509019

In notebook:
image

Output when saved as static HTML:
image

Most helpful comment

All 6 comments

Do you see anything in your browser console? Ctrl+Shift+J or Cmd+Option+J

Nothing looks funny to me:

image

(This is before generating the HTML _and_ after)

And what about the window where you open the static HTML export? Maybe you can send the file?

Good point! I get this:

Not allowed to load local resource: blob:http://localhost:1234/c1c82254-b6dc-43bb-af39-82c2d421532b plotly.html:154

(Github doesn't support .html files, so just change this .log extension to .html)
plotly.log

I've seen the same problem since commit 7cc235f.
In earlier versions, it worked in the exported html file (I used plotly()).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mlg556 picture mlg556  ·  4Comments

fonsp picture fonsp  ·  4Comments

fonsp picture fonsp  ·  5Comments

fonsp picture fonsp  ·  5Comments

briochemc picture briochemc  ·  6Comments