Michael Krabbe Borregaard

Results 322 comments of Michael Krabbe Borregaard

Why not just have `Black = 0; White = 1` though and clamp? That is the most accurate way of depicting the underlying color information in the matrix of `Gray`s....

I agree completely on the consistency. But not sure I understand what you mean by telling Plots you want the data treated like an image. Isn't that what `heatmap` is...

That sounds amazing, thanks a lot for the response.

I've got some functions for views into sparse matrices (currently here https://github.com/EcoJulia/SpatialEcology.jl/blob/master/src/Sparse_matrixfunctions.jl ), not mostly coded by me, though, but based on answers from @perrutquist and @getzdan . Would it...

As an addition to this, `copy` is extremely slow on views into sparse matrices - here's an example: ```julia using SparseArrays c = sprand(Bool,6000,18000, 0.01) d = view(c, 1:6000, rand(1:18000,...

In terms of the copy issue described above, defining simply ```julia mycopy(A::SubArray{R,S,T}) where R where S where T

Sorry guys, I've been busy, will take a look

You can e.g. read the tree from a Newick file and want to change the names from eg common to scientific names? This seems like a common use case to...

You could just add a `tipnames = getleafnames(tree)` kwarg to the recipe function, and then use `tipnames` in line 14. Maybe add a check to ensure that the length of...