# PlotlyJS not working in IJulia

**URL:** <https://discourse.julialang.org/t/plotlyjs-not-working-in-ijulia/22104>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [March 20, 2019, 1:02pm UTC](https://discourse.julialang.org/t/plotlyjs-not-working-in-ijulia/22104 "2019-03-20T13:02:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tord/32/6809_2.png) [@Tord](https://discourse.julialang.org/u/Tord)\
**Post date:** [March 20, 2019, 1:02pm UTC](https://discourse.julialang.org/t/plotlyjs-not-working-in-ijulia/22104/1 "2019-03-20T13:02:49Z")

</div>

I have difficulties getting the PlotlyJS for Plots.jl working from IJulia. When I do `using Plots` followed by `plotlyjs()` and `plot(sin)` in a IJulia notebook, I get no output. The JavaScript console in my browser shows a “ReferenceError: Can’t find variable: $”.

The problem seems to be specific to IJulia. The same sequence of operations works perfectly from a Julia REPL at the console.

Is this a know problem, and is there a simple way to fix it?

In case it matters, I’m running Julia 1.1.0 on macOS Mojave. I tried both Safari and Chrome; the behaviour is the same in both browsers.
