You can reposition by doing fig[1,3] = ax. You can call trim!(fig.layout) to remove excess rows.
For squarish you can do cols = ceil(Int, sqrt(n)) and then for (i, j) in fldmod1(idx, cols)
You can reposition by doing fig[1,3] = ax. You can call trim!(fig.layout) to remove excess rows.
For squarish you can do cols = ceil(Int, sqrt(n)) and then for (i, j) in fldmod1(idx, cols)