You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We expect the keyword argument to be a valid URL or similar, else error "Kaleido startup failed with code 1".
55
58
push!(chromium_flags, "--mathjax=$(mathjax)")
@@ -61,20 +64,21 @@ function start(;plotly_version = missing,
61
64
end
62
65
# Taken inspiration from https://github.com/plotly/Kaleido/blob/3b590b563385567f257db8ff27adae1adf77821f/repos/kaleido/py/kaleido/scopes/base.py#L116-L141
63
66
user_flags = String[]
64
-
for (k,v) inpairs(extra_flags)
67
+
for (k,v) inpairs(extra_flags)
65
68
flag_name =replace(string(k), "_"=>"-")
66
69
if v isa Bool
67
70
v &&push!(user_flags, "--$flag_name")
68
71
else
69
72
push!(user_flags, "--$flag_name=$v")
70
73
end
71
74
end
72
-
BIN =Cmd(vcat(basic_cmds, chromium_flags, user_flags))
75
+
BIN =Cmd(vcat(basic_cmds, chromium_flags, user_flags))
0 commit comments