# Plots.PlotlyJSBackend () is displayed as GR ()

**URL:** <https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902>\
**Category:** General Usage\
**Tags:** plotting, plots\
**Created:** [September 19, 2020, 9:46am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902 "2020-09-19T09:46:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 19, 2020, 9:46am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/1 "2020-09-19T09:46:07Z")

</div>

When running the following lines of code I receive the same graphic, and the last lines are expected to deliver an interactive graphic.

```julia
Julia>versioninfo()
Julia Version 1.5.1
Commit 697e782ab8 (2020-08-25 20:08 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: AMD Ryzen 7 1800X Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, znver1)
using Plots
x=-3:0.1:3
f(x)=x^2
y=f.(x)
gr()
plot(x,y,label="line")
scatter!(x,y,label="point")
title!("GR()")

```

![Plot GR()](https://global.discourse-cdn.com/julialang/original/3X/d/0/d0485bcfa3af3a28991d1e1384832b5c8b7b4938.jpeg)

```julia
Plots.PlotlyJSBackend()
plot(x,y,label="line")
scatter!(x,y,label="point")
title!("PlotlyJS()")

```

![Plot PlotlyJS()](https://global.discourse-cdn.com/julialang/original/3X/9/5/95c27d0a35a53368fc6b4cfdc6f6eaa7bb3b94a5.jpeg)

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 19, 2020, 11:32am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/2 "2020-09-19T11:32:06Z")

</div>

Try

```julia
plotlyjs()

```

instead of

```julia
Plots.PlotlyJSBackend()

```

So:

```julia
using Plots
plotlyjs()
x=-3:0.1:3
f(x)=x^2
y=f.(x)
plot(x,y,label="line")
scatter!(x,y,label="point")
title!("PlotlyJS()")

```

I had to add ORCA at first, but maybe my versions are outdated:

```julia
julia> ]

(@v1.5) pkg> add ORCA

```

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 19, 2020, 3:16pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/3 "2020-09-19T15:16:09Z")

</div>

after adding ORCA, I present the following problem:

```julia
julia>gr()
18:11:47->>Plots.GRBackend()

Julia>plot(x,y,label="line")
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: could not load library "libGR.dll"
The specified module could not be found. 
Stacktrace:
 [1] setcharheight at C:\Users\user\.julia\packages\GR\yMV3y\src\GR.jl:1273 [inlined]
 [2] gr_set_font(::Plots.Font; halign::Symbol, valign::Symbol, color::RGB{FixedPointNumbers.Normed{UInt8,8}}, rotation::Int64) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\gr.jl:389
 [3] gr_set_xticks_font(::Plots.Subplot{Plots.GRBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\gr.jl:726
 [4] _update_min_padding!(::Plots.Subplot{Plots.GRBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\gr.jl:920
 [5] iterate at .\generator.jl:47 [inlined]
 [6] _collect(::Array{AbstractLayout,2}, ::Base.Generator{Array{AbstractLayout,2},typeof(Plots._update_min_padding!)}, ::Base.EltypeUnknown, ::Base.HasShape{2}) at .\array.jl:699
 [7] collect_similar(::Array{AbstractLayout,2}, ::Base.Generator{Array{AbstractLayout,2},typeof(Plots._update_min_padding!)}) at .\array.jl:628
 [8] map(::Function, ::Array{AbstractLayout,2}) at .\abstractarray.jl:2162
 [9] _update_min_padding!(::Plots.GridLayout) at C:\Users\user\.julia\packages\Plots\cc8wh\src\layouts.jl:310
 [10] prepare_output(::Plots.Plot{Plots.GRBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\plot.jl:260
 [11] show at C:\Users\user\.julia\packages\Plots\cc8wh\src\output.jl:215 [inlined]
 [12] __binrepr at .\multimedia.jl:159 [inlined]
 [13] _textrepr at .\multimedia.jl:151 [inlined]
 [14] #stringmime#6 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Base64\src\Base64.jl:43 [inlined]
 [15] stringmime at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Base64\src\Base64.jl:43 [inlined]
 [16] display(::VSCodeServer.InlineDisplay, ::MIME{Symbol("image/svg+xml")}, ::Plots.Plot{Plots.GRBackend}) at c:\Users\user\.vscode\extensions\julialang.language-julia-1.0.7\scripts\packages\VSCodeServer\src\display.jl:16
 [17] display(::VSCodeServer.InlineDisplay, ::String, ::Any) at .\multimedia.jl:216
 [18] display(::VSCodeServer.InlineDisplay, ::Plots.Plot{Plots.GRBackend}) at c:\Users\user\.vscode\extensions\julialang.language-julia-1.0.7\scripts\packages\VSCodeServer\src\display.jl:133
 [19] display(::Any) at .\multimedia.jl:328
 [20] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [21] invokelatest at .\essentials.jl:709 [inlined]
 [22] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:238
 [23] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:223
 [24] (::REPL.var"#do_respond#54"{Bool,Bool,VSCodeServer.var"#36#37"{REPL.LineEditREPL,REPL.LineEdit.Prompt},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:822
 [25] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [26] invokelatest at .\essentials.jl:709 [inlined]
 [27] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\LineEdit.jl:2355
 [28] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:1144
 [29] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at .\task.jl:356

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 19, 2020, 5:33pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/4 "2020-09-19T17:33:46Z")

</div>

Don’t know why this is.  
Are you able to use the plotlyjs backend now?

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 19, 2020, 6:02pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/5 "2020-09-19T18:02:54Z")

</div>

now I can’t plot anything, I get the same alert!

```julia
Julia>Plots.PlotlyJSBackend()
21:05:06->>Plots.PlotlyJSBackend()

Julia>plot(x,y,label="line")
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: could not load library "libGR.dll"
The specified module could not be found.
Stacktrace:

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 19, 2020, 6:11pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/6 "2020-09-19T18:11:56Z")

</div>

Maybe

```julia
(@v1.5) pkg> remove ORCA

```

to bring you back.

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 19, 2020, 6:12pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/7 "2020-09-19T18:12:52Z")

</div>

> [@HerAdri](#):
>
> `Julia>Plots.PlotlyJSBackend()`

Why that and not

```julia
plotlyjs()

```

as I said above?

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 19, 2020, 7:46pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/8 "2020-09-19T19:46:51Z")

</div>

```julia
plotlyjs()
ERROR: ArgumentError: Package ORCA not found in current path:
- Run `import Pkg; Pkg.add("ORCA")` to install the ORCA package.

Stacktrace:
 [1] require(::Module, ::Symbol) at .\loading.jl:893
 [2] top-level scope at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends.jl:472
 [3] eval at .\boot.jl:331 [inlined]
 [4] _initialize_backend(::Plots.PlotlyJSBackend) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends.jl:471
 [5] backend at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends.jl:176 [inlined]
 [6] plotlyjs(; kw::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends.jl:33
 [7] plotlyjs() at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends.jl:33
 [8] top-level scope at REPL[18]:1

Julia>plot(x,y,label="line")
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: could not load library "libGR.dll"

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 19, 2020, 8:04pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/9 "2020-09-19T20:04:39Z")

</div>

Just pasting errors is not enough for me to help you.  
I have to assume that you did

```julia
remove ORCA

```

ok.  
I get the same, so I did a `add ORCA`.

I don’t know if it is needed but add also `PlotlyJS`:  
`import Pkg; Pkg.add("PlotlyJS")`

This is the full command list in a new REPL:

```julia
import Pkg; Pkg.add("PlotlyJS")
import Pkg; Pkg.add("ORCA")
using Plots
plotlyjs()
x=-3:0.1:3
f(x)=x^2
y=f.(x)
plot(x,y,label="line")
scatter!(x,y,label="point")
title!("PlotlyJS()")

```

Looking at your former threads I still must say, that something is terrible wrong with your Windows system. For me your odyssey started with this thread:

> [@IJulia do not run](https://discourse.julialang.org/t/ijulia-do-not-run/45409):
>
> I manage to install IJulia, but when I want to run the notebook () command, I get the following alerts: (@v1.5) pkg\> add IJulia Updating registry at `C:\Users\hermesr\.julia\registries\General` Resolving package versions... Installed VersionParsing ── v1.2.0 Installed SoftGlobalScope ─ v1.1.0 Installed ZeroMQ\_jll ────── v4.3.2+4 Installed Conda ─────────── v1.4.1 Installed ZMQ ───────────── v1.2.1 Installed IJulia ────────── v1.21.3 Updating `C:\Users\hermesr\.julia\environment…

And all the threads with package problems somehow ended without a solution, isnt it?

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 19, 2020, 8:46pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/10 "2020-09-19T20:46:51Z")

</div>

> [@oheil](#):
>
> ```julia-auto
> using Plots
> plotlyjs()
> x=-3:0.1:3
> f(x)=x^2
> y=f.(x)
> plot(x,y,label="line")
> scatter!(x,y,label="point")
> title!("PlotlyJS()")
> 
> ```

```julia-auto
Julia>import Pkg;

Julia>Pkg.add("PlotlyJS")
   Updating registry at `C:\Users\user\.julia\registries\General`
  Resolving package versions...
No Changes to `C:\Users\user\.julia\environments\v1.5\Project.toml`
No Changes to `C:\Users\user\.julia\environments\v1.5\Manifest.toml`

Julia>import Pkg; Pkg.add("ORCA")
  Resolving package versions...
Updating `C:\Users\user\.julia\environments\v1.5\Project.toml`
  [47be7bcc] + ORCA v0.5.0
Updating `C:\Users\user\.julia\environments\v1.5\Manifest.toml`
  [47be7bcc] + ORCA v0.5.0

Julia>using Plots

Julia>plotlyjs()
┌ Warning: ORCA.jl has been deprecated and all savefig functionality
│ has been implemented directly in PlotlyBase itself.
│
│ By implementing in PlotlyBase.jl, the savefig routines are automatically
│ available to PlotlyJS.jl also.
└ @ ORCA C:\Users\user\.julia\packages\ORCA\U5XaN\src\ORCA.jl:8
23:44:58->>Plots.PlotlyJSBackend()

Julia>x=-3:0.1:3
23:44:58->>-3.0:0.1:3.0

Julia>f(x)=x^2
23:44:58->>f (generic function with 1 method)

Julia>y=f.(x)
23:44:58->>61-element Array{Float64,1}:
Julia>plot(x,y,label="line")
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] electron at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:70 [inlined]
 [3] init(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:88
 [4] shell(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:149
 [5] shell at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:144 [inlined]
 [6] #Window#14 at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89 [inlined]
 [7] Blink.AtomShell.Window(::Dict{String,Int64}) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89
 [8] display_blink(::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:158
 [9] display(::PlotlyJS.PlotlyJSDisplay, ::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:152
 [10] display(::Any) at .\multimedia.jl:328
 [11] _display(::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\plotlyjs.jl:41
 [12] display(::Plots.PlotsDisplay, ::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\output.jl:161
 [13] display(::Any) at .\multimedia.jl:328
 [14] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [15] invokelatest at .\essentials.jl:709 [inlined]
 [16] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:238
 [17] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:223
 [18] (::REPL.var"#do_respond#54"{Bool,Bool,REPL.var"#64#73"{REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:822
 [19] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [20] invokelatest at .\essentials.jl:709 [inlined]
 [21] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\LineEdit.jl:2355
 [22] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:1144
 [23] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at .\task.jl:356

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 19, 2020, 9:21pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/11 "2020-09-19T21:21:47Z")

</div>

```julia
import Pkg;Pkg.add("Blink")
using Blink
Blink.AtomShell.install()

```

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [September 19, 2020, 9:57pm UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/12 "2020-09-19T21:57:59Z")

</div>

Do `]status`. PlotlyJS was updated recently and ORCA was removed from its dependencies.  
I’ve got:

```julia
(Elfel) pkg> st
Project Elfel v0.5.0                                                        
Status `C:\Users\PetrKrysl\Documents\work\Elfel.jl\Project.toml`            
  [ad839575] Blink v0.12.3                                                  
  [98b081ad] Literate v2.7.0                                                
  [43a99bba] MeshCore v0.10.0 `https://github.com/PetrKryslUCSD/MeshCore.jl.git#master`                                                                 
  [ffa89bc3] MeshSteward v0.7.0 `https://github.com/PetrKryslUCSD/MeshSteward.jl.git#master`                                                            
  [f0f68f2c] PlotlyJS v0.14.0                                               
  [90137ffa] StaticArrays v0.12.4                                           
  [b8865327] UnicodePlots v1.3.0                                            
  [37e2e46d] LinearAlgebra                                                  
  [9abbd945] Profile                                                        
  [2f01184e] SparseArrays                                                   
  [8dfed614] Test                                                           
                                                                            
(Elfel) pkg> 

```

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 20, 2020, 8:20am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/13 "2020-09-20T08:20:21Z")

</div>

> [@oheil](#):
>
> ```julia-auto
> using Blink
> Blink.AtomShell.install()
> 
> ```

```julia-auto
import Pkg;Pkg.add("Blink")
   Updating registry at `C:\Users\user\.julia\registries\General`
  Resolving package versions...
  Installed HDF5_jll ─ v1.10.5+6
Updating `C:\Users\user\.julia\environments\v1.5\Project.toml`
  [ad839575] + Blink v0.12.3
Updating `C:\Users\user\.julia\environments\v1.5\Manifest.toml`
  [0234f1f7] ↑ HDF5_jll v1.10.5+5 ⇒ v1.10.5+6

Julia>using Blink

Julia>Blink.AtomShell.install()
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:82
+ ... pe]::Tls12; (new-object net.webclient).DownloadFile("https://github.c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

ERROR: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\powershell' -NoProfile -Command '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object net.webclient).DownloadFile("https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-win32-x64.zip", "electron-v4.0.4-win32-x64.zip")'`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] run(::Cmd; wait::Bool) at .\process.jl:440
 [3] run at .\process.jl:438 [inlined]
 [4] download at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\install.jl:28 [inlined]
 [5] (::Blink.AtomShell.var"#1#2")() at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\install.jl:50
 [6] cd(::Blink.AtomShell.var"#1#2", ::String) at .\file.jl:93
 [7] install() at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\install.jl:27
 [8] top-level scope at REPL[3]:1

Julia>

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 20, 2020, 8:34am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/14 "2020-09-20T08:34:41Z")

</div>

Your powershell is not able to download

```julia
https://github.com/electron/electron/releases/download/v4.0.4/electron-v4.0.4-win32-x64.zip

```

I think you need some local help (maybe your local system admin of your organisation) to check if your Windows is somehow in bad condition or if your environment (e.g. network restrictions) may be the cause of your trouble.

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 20, 2020, 8:56am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/15 "2020-09-20T08:56:56Z")

</div>

I’m on the home PC !!  
Recreating the story, I think the problem started when I tried to take a course and was asked to install nteract.  
Windows alerted me that this software was harmful to my system.  
And I denied the installation !!  
But I followed one of the instructions of the course:  
“To follow along with XXXX, you can either download the notebook file below and run it in nteract locally or play around with Repl.it in the browser.”  
I chose: Repl.it in the browser.

I think, and I have no experience, to judge correctly, that this has been the problem.  
Please, I need your guidance, to continue studying Julia.

 ![Run PEPL in Web](https://global.discourse-cdn.com/julialang/original/3X/d/1/d112baf3dedbf677d181fc4093096130b591c5d4.jpeg)

Should I delete the .Julia file? I have istallar again !!  
Or uninstall Julia? have I install again?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 20, 2020, 9:36am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/16 "2020-09-20T09:36:43Z")

</div>

All right. Before we delete anything or reinstall we first try some less invasive method. Read this through before you start!

First general advice, please start a new REPL.

Key `]` means: press `]` as the first character at the REPL prompt. This enters Pkg REPL mode.  
So when you see

```julia
julia> ]

```

or just

```julia
]

```

I want you to enter Pkg REPL mode.

`Backspace` returns to the normal REPL mode, so when you see e.g.

```julia
(@v1.5) pkg> backspace

```

or just

```julia
backspace

```

I want you to leave Pkg REPL mode.  
(read about this in [Pkg · The Julia Language](https://docs.julialang.org/en/v1/stdlib/Pkg/))

In the following I want to try to create a new empty and clean environment for you to learn plots without the problems in your main environment (environments are explained here [4. Working with Environments · Pkg.jl](https://julialang.github.io/Pkg.jl/v1/environments/)) This environment is named “LearningPlots” and folder should be created in `ENV["LOCALAPPDATA"]` which for me is `C:\Users\oheil\AppData\Local\`. I have chosen this because it should be defined and writable in any Windows installation.

Do the following **line by line** in a new REPL and report everything here again:

```julia
cd(ENV["LOCALAPPDATA"])
pwd()
]
activate LearningPlots
st
add Plots
add PlotlyJS
add ORCA
st
backspace
using Plots
plotlyjs()
x=-3:0.1:3
f(x)=x^2
y=f.(x)
plot(x,y,label="line")
scatter!(x,y,label="point")
title!("PlotlyJS()")

```

If everythings go well you have to activate this environment before you start again learning plots with:

```julia
cd(ENV["LOCALAPPDATA"])
]
activate LearningPlots
backspace

```

If you decide not to use environments because it is another step to take which you don’t want for now, than remove the .julia folder as you suggested and do the following in a new REPL again **line by line** :

```julia
]
instantiate
st
add Plots
add PlotlyJS
add ORCA
st
backspace
using Plots
plotlyjs()
x=-3:0.1:3
f(x)=x^2
y=f.(x)
plot(x,y,label="line")
scatter!(x,y,label="point")
title!("PlotlyJS()")

```

The first part

```julia
]
instantiate
st
add Plots
add PlotlyJS
add ORCA
st
backspace

```

is needed only the first time after you have removed folder `.julia`.

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 20, 2020, 9:37am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/17 "2020-09-20T09:37:43Z")

</div>

In VScode the plotlyjs () works, as I show you in the image,

 ![Plot PlotlyJS VScode](https://global.discourse-cdn.com/julialang/original/3X/4/a/4a726fac52e6ee235c8a3898183e9731cc528c85.jpeg)  
but GR () does not work; which is the same as in Julia’s REPL  
 ![Plot PlotlyJS VScode GR()](https://global.discourse-cdn.com/julialang/original/3X/8/2/82b99a77aa5804e6de0a5590680b4fc85b523b64.jpeg)

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 20, 2020, 9:56am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/18 "2020-09-20T09:56:20Z")

</div>

```julia
cd(ENV["LOCALAPPDATA"])
ERROR: Could not determine command

Julia>cd(ENV["LOCALAPPDATA"])

Julia>pwd()
12:45:27->>"C:\\Users\\user\\AppData\\Local"

(@v1.5) pkg> activate LearningPlots
 Activating new environment at `C:\Users\user\AppData\Local\LearningPlots\Project.toml`

(LearningPlots) pkg> st
Status `C:\Users\user\AppData\Local\LearningPlots\Project.toml` (empty project)

(LearningPlots) pkg> add Plots
   Updating registry at `C:\Users\user\.julia\registries\General`
  Resolving package versions...
Updating `C:\Users\user\AppData\Local\LearningPlots\Project.toml`
  [91a5bcdd] + Plots v1.6.5
Updating `C:\Users\user\AppData\Local\LearningPlots\Manifest.toml`
  [79e6a3ab] + Adapt v2.1.0
  [6e34b625] + Bzip2_jll v1.0.6+4
  [35d6a980] + ColorSchemes v3.10.0
  [3da002f7] + ColorTypes v0.10.9
  [5ae59095] + Colors v0.12.4
  [34da2185] + Compat v3.16.0
  [d38c429a] + Contour v0.5.5
  [9a962f9c] + DataAPI v1.3.0
  [864edb3b] + DataStructures v0.18.6
  [e2d170a0] + DataValueInterfaces v1.0.0
  [5ae413db] + EarCut_jll v2.1.5+0
  [c87230d0] + FFMPEG v0.4.0
  [b22a6f82] + FFMPEG_jll v4.3.1+2
  [53c48c17] + FixedPointNumbers v0.8.4
  [d7e528f0] + FreeType2_jll v2.10.1+4
  [559328eb] + FriBidi_jll v1.0.5+5
  [28b8d3ca] + GR v0.52.0
  [5c1252a2] + GeometryBasics v0.3.1
  [4d00f742] + GeometryTypes v0.8.3
  [cd3eb016] + HTTP v0.8.19
  [83e8ac13] + IniFile v0.5.0
  [c8e1da08] + IterTools v1.3.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [682c06a0] + JSON v0.21.1
  [c1c5ebd0] + LAME_jll v3.100.0+2
  [dd192d2f] + LibVPX_jll v1.9.0+0
  [739be429] + MbedTLS v1.0.2
  [c8ffd9c3] + MbedTLS_jll v2.16.8+0
  [442fdcdd] + Measures v0.3.1
  [e1d29d7a] + Missings v0.4.4
  [77ba4419] + NaNMath v0.3.4
  [e7412a2a] + Ogg_jll v1.3.4+1
  [458c3c95] + OpenSSL_jll v1.1.1+5
  [91d4177d] + Opus_jll v1.3.1+2
  [bac558e1] + OrderedCollections v1.3.1
  [69de0a69] + Parsers v1.0.10
  [ccf2f8ad] + PlotThemes v2.0.0
  [995b91a9] + PlotUtils v1.0.6
  [91a5bcdd] + Plots v1.6.5
  [3cdcf5f2] + RecipesBase v1.1.0
  [01d81517] + RecipesPipeline v0.1.13
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.3
  [992d4aef] + Showoff v0.3.1
  [a2af1166] + SortingAlgorithms v0.3.1
  [90137ffa] + StaticArrays v0.12.4
  [2913bbd2] + StatsBase v0.33.1
  [09ab397b] + StructArrays v0.4.4
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v1.0.5
  [83775a58] + Zlib_jll v1.2.11+16
  [0ac62f75] + libass_jll v0.14.0+3
  [f638f0a6] + libfdk_aac_jll v0.1.6+3
  [f27f6e37] + libvorbis_jll v1.3.6+5
  [1270edf5] + x264_jll v2020.7.14+1
  [dfaa095f] + x265_jll v3.0.0+2
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode

(LearningPlots) pkg> add PlotlyJS
  Resolving package versions...
Updating `C:\Users\user\AppData\Local\LearningPlots\Project.toml`
  [f0f68f2c] + PlotlyJS v0.14.0
Updating `C:\Users\user\AppData\Local\LearningPlots\Manifest.toml`
  [bf4720bc] + AssetRegistry v0.1.0
  [9e28174c] + BinDeps v1.0.1
  [ad839575] + Blink v0.12.3
  [ffbed154] + DocStringExtensions v0.8.3
  [de31a74c] + FunctionalCollections v0.5.0
  [9fb69e20] + Hiccup v0.2.2
  [97c1335a] + JSExpr v0.5.2
  [b964fa9f] + LaTeXStrings v1.1.0
  [50d2b5c4] + Lazy v0.14.0
  [1914dd2f] + MacroTools v0.5.5
  [ffc61752] + Mustache v1.0.5
  [a975b10e] + Mux v0.7.2
  [510215fc] + Observables v0.3.1
  [fa939f87] + Pidfile v1.2.0
  [a03496cd] + PlotlyBase v0.4.1
  [f0f68f2c] + PlotlyJS v0.14.0
  [30578b45] + URIParser v0.4.1
  [0f1e0344] + WebIO v0.8.14
  [104b5d7c] + WebSockets v1.5.2
  [cc8bc4a8] + Widgets v0.6.2
  [7b1f6079] + FileWatching

(LearningPlots) pkg> add ORCA
  Resolving package versions...
Updating `C:\Users\user\AppData\Local\LearningPlots\Project.toml`
  [47be7bcc] + ORCA v0.5.0
Updating `C:\Users\user\AppData\Local\LearningPlots\Manifest.toml`
  [47be7bcc] + ORCA v0.5.0

(LearningPlots) pkg> st
Status `C:\Users\user\AppData\Local\LearningPlots\Project.toml`
  [47be7bcc] ORCA v0.5.0
  [f0f68f2c] PlotlyJS v0.14.0
  [91a5bcdd] Plots v1.6.5

Julia>using Plots
[Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

Julia>plotlyjs()
┌ Warning: ORCA.jl has been deprecated and all savefig functionality
│ has been implemented directly in PlotlyBase itself.
│
│ By implementing in PlotlyBase.jl, the savefig routines are automatically
│ available to PlotlyJS.jl also.
└ @ ORCA C:\Users\user\.julia\packages\ORCA\U5XaN\src\ORCA.jl:8
12:53:45->>Plots.PlotlyJSBackend()

Julia>x=-3:0.1:3
12:53:46->>-3.0:0.1:3.0

Julia>f(x)=x^2
12:53:46->>f (generic function with 1 method)

Julia>y=f.(x)
12:53:47->>61-element Array{Float64,1}:
 9.0
 8.41
 7.839999999999999
 7.290000000000001
 6.760000000000001
 6.25
 5.76
 5.289999999999999
 4.840000000000001
 4.41
 4.0
 3.61
 3.24
 ⋮
 3.61
 4.0
 4.41
 4.840000000000001
 5.289999999999999
 5.76
 6.25
 6.760000000000001
 7.290000000000001
 7.839999999999999
 8.41
 9.0

Julia>plot(x,y,label="line")
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] electron at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:70 [inlined]
 [3] init(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:88
 [4] shell(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:149
 [5] shell at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:144 [inlined]
 [6] #Window#14 at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89 [inlined]
 [7] Blink.AtomShell.Window(::Dict{String,Int64}) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:8 9
 [8] display_blink(::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:158
 [9] display(::PlotlyJS.PlotlyJSDisplay, ::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\displa y.jl:152
 [10] display(::Any) at .\multimedia.jl:328
 [11] _display(::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\GDtiZ\src\backends\plotlyjs.j l:39
 [12] display(::Plots.PlotsDisplay, ::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\GDtiZ\sr c\output.jl:150
 [13] display(::Any) at .\multimedia.jl:328
 [14] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [15] invokelatest at .\essentials.jl:709 [inlined]
 [16] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdli b\v1.5\REPL\src\REPL.jl:238
 [17] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at D:\buildbot\worker\package_win64\build\usr\share\jul ia\stdlib\v1.5\REPL\src\REPL.jl:223
 [18] (::REPL.var"#do_respond#54"{Bool,Bool,REPL.var"#64#73"{REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditRE PL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REP L\src\REPL.jl:822
 [19] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [20] invokelatest at .\essentials.jl:709 [inlined]
 [21] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at D:\buildb ot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\LineEdit.jl:2355
 [22] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\worker\package_win64\build\usr\share\julia \stdlib\v1.5\REPL\src\REPL.jl:1144
 [23] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at .\task.jl:356

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 20, 2020, 9:58am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/19 "2020-09-20T09:58:39Z")

</div>

Ok, now GR:  
Please try this:

```julia
julia> ENV["GRDIR"]=""

julia> using Pkg

julia> Pkg.build("GR")

```

The Blink problem has already been adresses above!

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [September 20, 2020, 10:40am UTC](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902/20 "2020-09-20T10:40:16Z")

</div>

> [@oheil](#):
>
> `ENV["GRDIR"]=""`

```julia-auto
(@v1.5) pkg> activate LearningPlots
 Activating new environment at `C:\Users\user\LearningPlots\Project.toml`

(LearningPlots) pkg> st
Status `C:\Users\user\LearningPlots\Project.toml` (empty project)

(LearningPlots) pkg> add Plots
   Updating registry at `C:\Users\user\.julia\registries\General`
  Resolving package versions...
Updating `C:\Users\user\LearningPlots\Project.toml`
  [91a5bcdd] + Plots v1.6.5
Updating `C:\Users\user\LearningPlots\Manifest.toml`
  [79e6a3ab] + Adapt v2.1.0
  [6e34b625] + Bzip2_jll v1.0.6+4
  [35d6a980] + ColorSchemes v3.10.0
  [3da002f7] + ColorTypes v0.10.9
  [5ae59095] + Colors v0.12.4
  [34da2185] + Compat v3.16.0
  [d38c429a] + Contour v0.5.5
  [9a962f9c] + DataAPI v1.3.0
  [864edb3b] + DataStructures v0.18.6
  [e2d170a0] + DataValueInterfaces v1.0.0
  [5ae413db] + EarCut_jll v2.1.5+0
  [c87230d0] + FFMPEG v0.4.0
  [b22a6f82] + FFMPEG_jll v4.3.1+2
  [53c48c17] + FixedPointNumbers v0.8.4
  [d7e528f0] + FreeType2_jll v2.10.1+4
  [559328eb] + FriBidi_jll v1.0.5+5
  [28b8d3ca] + GR v0.52.0
  [5c1252a2] + GeometryBasics v0.3.1
  [4d00f742] + GeometryTypes v0.8.3
  [cd3eb016] + HTTP v0.8.19
  [83e8ac13] + IniFile v0.5.0
  [c8e1da08] + IterTools v1.3.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [682c06a0] + JSON v0.21.1
  [c1c5ebd0] + LAME_jll v3.100.0+2
  [dd192d2f] + LibVPX_jll v1.9.0+0
  [739be429] + MbedTLS v1.0.2
  [c8ffd9c3] + MbedTLS_jll v2.16.8+0
  [442fdcdd] + Measures v0.3.1
  [e1d29d7a] + Missings v0.4.4
  [77ba4419] + NaNMath v0.3.4
  [e7412a2a] + Ogg_jll v1.3.4+1
  [458c3c95] + OpenSSL_jll v1.1.1+5
  [91d4177d] + Opus_jll v1.3.1+2
  [bac558e1] + OrderedCollections v1.3.1
  [69de0a69] + Parsers v1.0.10
  [ccf2f8ad] + PlotThemes v2.0.0
  [995b91a9] + PlotUtils v1.0.6
  [91a5bcdd] + Plots v1.6.5
  [3cdcf5f2] + RecipesBase v1.1.0
  [01d81517] + RecipesPipeline v0.1.13
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.3
  [992d4aef] + Showoff v0.3.1
  [a2af1166] + SortingAlgorithms v0.3.1
  [90137ffa] + StaticArrays v0.12.4
  [2913bbd2] + StatsBase v0.33.1
  [09ab397b] + StructArrays v0.4.4
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v1.0.5
  [83775a58] + Zlib_jll v1.2.11+16
  [0ac62f75] + libass_jll v0.14.0+3
  [f638f0a6] + libfdk_aac_jll v0.1.6+3
  [f27f6e37] + libvorbis_jll v1.3.6+5
  [1270edf5] + x264_jll v2020.7.14+1
  [dfaa095f] + x265_jll v3.0.0+2
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode

(LearningPlots) pkg> add ORCA
  Resolving package versions...
Updating `C:\Users\user\LearningPlots\Project.toml`
  [47be7bcc] + ORCA v0.5.0
Updating `C:\Users\user\LearningPlots\Manifest.toml`
  [ffbed154] + DocStringExtensions v0.8.3
  [b964fa9f] + LaTeXStrings v1.1.0
  [47be7bcc] + ORCA v0.5.0
  [a03496cd] + PlotlyBase v0.4.1

(LearningPlots) pkg> st
Status `C:\Users\user\LearningPlots\Project.toml`
  [47be7bcc] ORCA v0.5.0
  [91a5bcdd] Plots v1.6.5

Julia>using Plots

Julia>plotlyjs()
┌ Warning: ORCA.jl has been deprecated and all savefig functionality
│ has been implemented directly in PlotlyBase itself.
│
│ By implementing in PlotlyBase.jl, the savefig routines are automatically
│ available to PlotlyJS.jl also.
└ @ ORCA C:\Users\user\.julia\packages\ORCA\U5XaN\src\ORCA.jl:8
13:22:22->>Plots.PlotlyJSBackend()

Julia>x=-3:0.1:3
13:22:23->>-3.0:0.1:3.0

Julia>f(x)=x^2
13:22:23->>f (generic function with 1 method)

Julia>y=f.(x)
13:22:23->>61-element Array{Float64,1}:
 9.0
 8.41
 7.839999999999999
 7.290000000000001
 6.760000000000001
 6.25
 5.76
 5.289999999999999
 4.840000000000001
 4.41
 4.0
 3.61
 3.24
 ⋮
 3.61
 4.0
 4.41
 4.840000000000001
 5.289999999999999
 5.76
 6.25
 6.760000000000001
 7.290000000000001
 7.839999999999999
 8.41
 9.0

Julia>plot(x,y,label="line")
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] electron at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:70 [inlined]
 [3] init(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:88
 [4] shell(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:149
 [5] shell at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:144 [inlined]
 [6] #Window#14 at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89 [inlined]
 [7] Blink.AtomShell.Window(::Dict{String,Int64}) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89
 [8] display_blink(::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:158
 [9] display(::PlotlyJS.PlotlyJSDisplay, ::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:152
 [10] display(::Any) at .\multimedia.jl:328
 [11] _display(::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\plotlyjs.jl:41
 [12] display(::Plots.PlotsDisplay, ::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\output.jl:161
 [13] display(::Any) at .\multimedia.jl:328
 [14] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [15] invokelatest at .\essentials.jl:709 [inlined]
 [16] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:238
 [17] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:223
 [18] (::REPL.var"#do_respond#54"{Bool,Bool,REPL.var"#64#73"{REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:822
 [19] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [20] invokelatest at .\essentials.jl:709 [inlined]
 [21] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\LineEdit.jl:2355
 [22] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:1144
 [23] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at .\task.jl:356

Julia>scatter!(x,y,label="point")
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] electron at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:70 [inlined]
 [3] init(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:88
 [4] shell(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:149
 [5] shell at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:144 [inlined]
 [6] #Window#14 at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89 [inlined]
 [7] Blink.AtomShell.Window(::Dict{String,Int64}) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89
 [8] display_blink(::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:158
 [9] display(::PlotlyJS.PlotlyJSDisplay, ::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:152
 [10] display(::Any) at .\multimedia.jl:328
 [11] _display(::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\plotlyjs.jl:41
 [12] display(::Plots.PlotsDisplay, ::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\output.jl:161
 [13] display(::Any) at .\multimedia.jl:328
 [14] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [15] invokelatest at .\essentials.jl:709 [inlined]
 [16] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:238
 [17] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:223
 [18] (::REPL.var"#do_respond#54"{Bool,Bool,REPL.var"#64#73"{REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:822
 [19] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [20] invokelatest at .\essentials.jl:709 [inlined]
 [21] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\LineEdit.jl:2355
 [22] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:1144
 [23] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at .\task.jl:356

Julia>title!("PlotlyJS()")
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] electron at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:70 [inlined]
 [3] init(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:88
 [4] shell(; debug::Bool) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:149
 [5] shell at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\process.jl:144 [inlined]
 [6] #Window#14 at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89 [inlined]
 [7] Blink.AtomShell.Window(::Dict{String,Int64}) at C:\Users\user\.julia\packages\Blink\u1xcH\src\AtomShell\window.jl:89
 [8] display_blink(::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:158
 [9] display(::PlotlyJS.PlotlyJSDisplay, ::PlotlyJS.SyncPlot) at C:\Users\user\.julia\packages\PlotlyJS\m2Lzd\src\display.jl:152
 [10] display(::Any) at .\multimedia.jl:328
 [11] _display(::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\backends\plotlyjs.jl:41
 [12] display(::Plots.PlotsDisplay, ::Plots.Plot{Plots.PlotlyJSBackend}) at C:\Users\user\.julia\packages\Plots\cc8wh\src\output.jl:161
 [13] display(::Any) at .\multimedia.jl:328
 [14] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [15] invokelatest at .\essentials.jl:709 [inlined]
 [16] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:238
 [17] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:223
 [18] (::REPL.var"#do_respond#54"{Bool,Bool,REPL.var"#64#73"{REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:822
 [19] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [20] invokelatest at .\essentials.jl:709 [inlined]
 [21] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\LineEdit.jl:2355
 [22] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\REPL\src\REPL.jl:1144
 [23] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at .\task.jl:356

(LearningPlots) pkg> st
Status `C:\Users\user\LearningPlots\Project.toml`
  [47be7bcc] ORCA v0.5.0
  [91a5bcdd] Plots v1.6.5

Julia>ENV["GRDIR"]=""
13:24:38->>""

Julia>using Pkg

Julia>Pkg.build("GR")
   Building GR → `C:\Users\user\.julia\packages\GR\BwGt2\deps\build.log`

Julia>

Julia>1
13:37:30->>1

Julia>

```

[Next page](https://discourse.julialang.org/t/plots-plotlyjsbackend-is-displayed-as-gr/46902.md?page=2)
