OCHA-DAP / gghdx

HDX Theme, Scales, and Other Conveniences for 'ggplot2'
GNU General Public License v3.0
5 stars 0 forks source link

`scale_fill_ordinal_hdx()` #23

Open zackarno opened 8 months ago

zackarno commented 8 months ago

just came across ggplot2::scale_fill_ordinal() which seems pretty nifty esp if comparing leadtime distributions. Therefore, adding it to the wish-list

caldwellst commented 8 months ago

Hmm interesting, can you show me how it works? The {ggplot2} details are extremely scant and use cases on Google are very few.

caldwellst commented 8 months ago

Is it that it allows you to treat numeric integers as factors basically, so it works like discrete fill without erroring out on a numeric vector?

caldwellst commented 6 months ago

Just following up, if we've got a reprex can explore better how to implement and how you've been using it!