# Not plots with plotly, apple silicon and VSCode

**URL:** <https://discourse.julialang.org/t/not-plots-with-plotly-apple-silicon-and-vscode/131550>\
**Category:** General Usage\
**Tags:** vscode, plots, plotly\
**Created:** [August 12, 2025, 7:57am UTC](https://discourse.julialang.org/t/not-plots-with-plotly-apple-silicon-and-vscode/131550 "2025-08-12T07:57:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![romain-chiap](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/romain-chiap/32/217795_2.png) [@romain-chiap](https://discourse.julialang.org/u/romain-chiap)\
**Post date:** [August 12, 2025, 7:57am UTC](https://discourse.julialang.org/t/not-plots-with-plotly-apple-silicon-and-vscode/131550/1 "2025-08-12T07:57:05Z")

</div>

Hello dears,  
I just changed my macos intel for a macos M4 and I’m trying to run my jupyter notebook plotting scripts. Here is a snippet of my code

```julia-auto
using Plots
BG_COLOR = RGB(0.2, 0.2, 0.2); # background color of the plots
plotly();
# gr();

vs = logs["vehicle_status"] # data structure containing the actual data to be plotted
plot(vs.t, [vs.arming_state vs.failsafe],label=["arming_state" "failsafe"],background_color=BG_COLOR,ylabel="(deg)",xlabel="time (s)",title="vehicle status")
state_map = DefaultDict(() -> "Unknown State", Dict(0 => "Manual", 1 => "Altitude", 2 => "Position", 3 => "Mission", 4=> "Hold", 5 => "RTL", 10 => "Acro", 12 => "descent", 13 => "termination", 18 => "auto land"))
hover_text = [state_map[i] for i in vs.nav_state]
plot!(vs.t, vs.nav_state, label="nav_state", hovertext=hover_text,legend=:topleft)

```

The result displays is an empty space for the plot, without the actual plot, no axis, nothing. When using `gr()` instead of `plotly()` it works fine but then I lose the interactive functionality of plotly: value of the datapoint when hovering the mouse, interactive zoom, etc.

I’m not attached to plotly, I’m just attached to not recoding my plotting script (500 lines of code) 🙃 Any solution?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [August 12, 2025, 1:03pm UTC](https://discourse.julialang.org/t/not-plots-with-plotly-apple-silicon-and-vscode/131550/2 "2025-08-12T13:03:39Z")

</div>

Does downgrading Plots.jl to v1.40.13 solve the problem? If so, then you’re running into [[BUG] `PlotlyJS` backend renders blank plots in `Pluto` · Issue #5156 · JuliaPlots/Plots.jl · GitHub](https://github.com/JuliaPlots/Plots.jl/issues/5156)

---

<div class="post-metadata">

**Author:** ![romain-chiap](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/romain-chiap/32/217795_2.png) [@romain-chiap](https://discourse.julialang.org/u/romain-chiap)\
**Post date:** [August 12, 2025, 3:15pm UTC](https://discourse.julialang.org/t/not-plots-with-plotly-apple-silicon-and-vscode/131550/3 "2025-08-12T15:15:56Z")

</div>

yes, downgrading downgrading [Plots.jl](https://juliaregistries.github.io/General/packages/redirect_to_repo/Plots) to v1.40.13 solved the problem !

For now, I’m very satisfied with this workaround 🙂
