Carlos Parada

Results 396 comments of Carlos Parada

> @Nosferican, @kir0ul here's how you would do it with AoG: Is there a tutorial on how to do this with multiple bands? Looking to get a fan chart, e.g....

This is great! I actually managed to get my own version _almost_ working: ``` fan_chart = visual(LinesFill; color=:red) * ( mapping(house_pop...; lower="5.0%", upper="95.0%") + mapping(house_pop...; lower="12.0%", upper="88.0%") + mapping(house_pop...; lower="27.0%",...

Ahh, I figured it out! ``` fan_chart = visual(Band; color=(:red, .3)) * ( mapping(:year, "5.0%", "95.0%") + mapping(:year, "12.0%", "88.0%") + mapping(:year, "27.0%", "73.0%") ) + visual(Lines) * mapping(:year, "50.0%")...

> I wanted to implement this at some point but I didn't finish. I've just put the code into a draft PR [greimel/AoGExtensions.jl#16](https://github.com/greimel/AoGExtensions.jl/pull/16) so that you have a look. >...

Also, would a continuous fan chart like [this one](https://github.com/jasonhilton/ggfan) be possible? ![image](https://user-images.githubusercontent.com/71727937/171770964-66a58843-3833-4718-bbcf-2e88a957b476.png)

Opened a new issue for fan charts [here](https://github.com/JuliaPlots/AlgebraOfGraphics.jl/issues/398).

That's true. Maybe we could add a `lazy_zero` method with this behavior? (i.e. return `Zeros` for array arguments and `0` for number-like arguments.)

> > it seems it shouldn't > > Why should this be disallowed? If e.g. `hcat` is going to work, then it will inevitably sometimes produce duplicates. Lookup works by...

Would definitely love to see this implemented; I currently need something like this (in terms of performance) for an application where I want to bootstrap KDEs. If reimplementing it is...

> Yep, I like that ordering. Currently they're just organized in the order that they were written, which is not super great as you've noted. > > The big issue...