I am trying to plot using both GR and Plotly but all I'm getting is a blank window. Running on a MacBook Pro M1. No problems with lib install.
using Plots
gr()
function plot_calendar_viz()
plot(Plots.fakedata(50, 5), w = 3)
end
using PlotlyJS
function plot_calendar_viz()
x = ["2013-10-04 22:23:00", "2013-11-04 22:23:00", "2013-12-04 22:23:00"]
trace1 = scatter(;x=1:4, y=[10, 15, 13, 17], mode="markers")
trace2 = scatter(;x=2:5, y=[16, 5, 11, 9], mode="lines")
trace3 = scatter(;x=1:4, y=[12, 9, 15, 12], mode="lines+markers")
plot([trace1, trace2, trace3])
end
I also tried using the x86 Julia version. Same blank window.
As Nils suggested: If I try using Plots; plot(rand(10))
I get:
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: could not load library "libGR.so"
Update:
If I try to rebuild GR it works, but plotly still does not.