# Plotting problems with Mac M1

**URL:** https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220
**Category:** New to Julia
**Tags:** question, plotting
**Created:** [April 7, 2023, 12:54pm UTC](https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220 "2023-04-07T12:54:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ericstoneking](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericstoneking/32/48838_2.png) [@ericstoneking](https://discourse.julialang.org/u/ericstoneking)
#### Post date: [April 7, 2023, 12:54pm UTC](https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220/1 "2023-04-07T12:54:30Z")

</div>

Hi All,

I’m migrating to a Mac M1. I’ve installed julia 1.8.5 (2023-01-08) from [julialang.org](http://julialang.org). Added my favorite packages using Pkg, among which is Plots.jl.

This input in the REPL:

```julia
    using Plots
    gr();
    x = [0:pi/100:2*pi;];
    y = sin.(x);
    plot(x,y)

```

gives me this output:

```julia
    Plot{Plots.GRBackend() n=1}

```

but no actual plot. I assume there’s some simple piece missing, but I have no idea where to begin. Help?

Thanks,  
-Eric

---

<div class="post-metadata">

### Author: ![enderw88](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/enderw88/32/48997_2.png) [@enderw88](https://discourse.julialang.org/u/enderw88)
#### Post date: [April 13, 2023, 3:40pm UTC](https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220/2 "2023-04-13T15:40:33Z")

</div>

> [@ericstoneking](#):
>
> ```julia
> using Plots
> gr();
> x = [0:pi/100:2*pi;];
> y = sin.(x);
> plot(x,y)
> 
> ```

I can’t add much other than to say that I tested your inputs in a REPL on my M1 MBP and it worked as expected. I got the plot in a new window and did not get the “Plot{Plots.GRBackend() n=1}”

I wish I could help more but I have just started down this road as well.

---

<div class="post-metadata">

### Author: ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)
#### Post date: [April 13, 2023, 3:52pm UTC](https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220/3 "2023-04-13T15:52:23Z")

</div>

Did you get any messages when installing the packages? Running your code on my M1 yields

 ![Screenshot 2023-04-13 at 17.49.22](https://global.discourse-cdn.com/julialang/original/3X/4/9/49db0b5c0162401325280bb82a5b4b617176a201.jpeg)

running on

```julia
  [91a5bcdd] Plots v1.38.9

```

So, what does `] status` report? (or, to be precise `]` switches to package mode and on `pkg>` you type `status`).

---

<div class="post-metadata">

### Author: ![ericstoneking](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericstoneking/32/48838_2.png) [@ericstoneking](https://discourse.julialang.org/u/ericstoneking)
#### Post date: [April 13, 2023, 3:58pm UTC](https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220/4 "2023-04-13T15:58:06Z")

</div>

Status `~/.julia/environments/v1.8/Project.toml`  
[8f4d0f93] Conda v1.8.0  
[e9467ef8] GLMakie v0.8.4  
[28b8d3ca] GR v0.72.0  
[7073ff75] IJulia v1.24.0  
[18364772] IPython v0.5.1  
[6218d12a] ImageMagick v1.2.2  
[682c06a0] JSON v0.21.3  
[23992714] MAT v0.10.4  
[ee78f7c6] Makie v0.19.4  
[a03496cd] PlotlyBase v0.8.19  
[f2990250] PlotlyKaleido v1.0.0  
[91a5bcdd] Plots v1.38.9  
[438e738f] PyCall v1.95.1  
[24249f21] SymPy v1.1.8

---

<div class="post-metadata">

### Author: ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)
#### Post date: [April 13, 2023, 4:11pm UTC](https://discourse.julialang.org/t/plotting-problems-with-mac-m1/97220/5 "2023-04-13T16:11:51Z")

</div>

Hm, mainly fishing in the dark, what does removing and adding Plots again report? Or Plots and GR? Usually adding/rebuliding packages should do the binding to the window manager and such, but I (on my M1) never had, that that failed and for now a main thing would try to find an error message somewhere.
