Setting the plots backend not working on M1 Mac

I am working on an M1 Mac and it has trouble with plotting.

When I try it like this it works:

using GR
histogram(randn(10000))

But like this it does not:

using Plots
gr()
# pyplot() # also does not work
histogram(randn(10000))

Any ideas?

what version of Julia? also Rosetta or native?

Julia 1.8.0 rc1 macOS ARM (M-series Processor)

Also tried running with rosetta.

1 Like