layout - Julia 中 @animate 和 @layout 的顺序
问题描述
我想问一下以下错误的机制。编码
lay = @layout [a{0.4h}; grid(2,2)]
@animate for...
plot(..., layout = lay)
end
在 Jupyter 中生成只有一帧的动画(其余帧为空白)。Jupyter 中没有错误消息。
编码
@animate for...
lay = @layout [a{0.4h}; grid(2,2)]
plot(..., layout = lay)
end
工作正常。为什么?这不是低效吗?
解决方案
推荐阅读
- javascript - Javascript:将输入放在两个变量之间并输出
- java - 在 JavaFX 中使用 ComboBox 进行多选和取消选择
- haskell - 将存在主义提升到类型级别
- mysql - MYSQL 嵌套查询到 Laravel Eloquent ORM
- soap - 如何通过 SOAP 按位置名称列表搜索 NetSuite 位置
- python - 用逆矩阵不理解这个 AttributeError
- html - 如何填充内容宽度
- python - io.UnsupportedOperation: 寻找
- html - 如何定位没有类或 id 的元素
- mongodb - 如何使用 Map/Reduce MongoDB 返回每个作者的总销售额