当我调用plot()函数时,生成的图形总是在浏览器中打开时具有固定的大小。我已经尝试以多种形式向该函数传递布局参数,但它总是会抛出“未处理的布局类型”错误。
示例代码:
有没有人知道如何正确传递这个布局参数?
示例代码:
using Plots
plotly()
data = rand(10)
plot(data, layout = [:autosize=false, :width = 500, :height = 500])
plot(data, layout = [autosize=false, width = 500, height = 500])
plot(data, layout = ["autosize"=>false, "width" => 500, "height" => 500])
有没有人知道如何正确传递这个布局参数?