waterfall_lines.jl. This one seems to be broken because of Makie.jl has changed it's API. I don't really know what ax = axis(0:0.1:1, 0:0.1:1, 0:0.1:0.5) is in modern Makie
waterfall_heatmap.jl. I am not sure what the following lines are supposed to be doing:
heatmaps = map(enumerate(IndexCartesian(), dispbufs)) do ibuf
i = ibuf[1]
buf = ibuf[2]
# some function of the 2D index and the value
heatmap(buf, offset = (i[2] * size(buf, 2), i[1] * size(buf, 1)))
end
It seems to be broken on enumerate(IndexCartesian(), dispbufs). dispbufs is a 2D array of 2D arrays and enumerate(IndexCartesian(), a) no longer exists. I tried CartesianIndices(...), but obviously i and buf are integers in this case, so heatmap(buf, offset = (i[2] * size(buf, 2), i[1] * size(buf, 1))) breaks
I'll keep working on this, I am just creating the PR prematurely to see what you think.
What does this implement/fix?
This is a small PR fixing typos in the README and a few examples
Reference issue
Discussed briefly here: #114
Additional information
I couldn't get the
waterfall_lines.jl
,lilyplay.jl
orwaterfall_heatmap.jl
examples to run. Here are my rough thoughts on them:lilyplay.jl
. I am not really sure what this one should be doing exactly, but it provides the following error:waterfall_lines.jl
. This one seems to be broken because of Makie.jl has changed it's API. I don't really know whatax = axis(0:0.1:1, 0:0.1:1, 0:0.1:0.5)
is in modern Makiewaterfall_heatmap.jl
. I am not sure what the following lines are supposed to be doing:It seems to be broken on
enumerate(IndexCartesian(), dispbufs)
.dispbufs
is a 2D array of 2D arrays andenumerate(IndexCartesian(), a)
no longer exists. I triedCartesianIndices(...)
, but obviouslyi
andbuf
are integers in this case, soheatmap(buf, offset = (i[2] * size(buf, 2), i[1] * size(buf, 1)))
breaksI'll keep working on this, I am just creating the PR prematurely to see what you think.