joranelias,
@joranelias@mastodon.social avatar

I know it violates the data component/non-data component dichotomy but I wish it were easier to map aesthetics to categorical axis labels

joranelias,
@joranelias@mastodon.social avatar

It’s possible to pass vectors of colors in element_text() but it’s unsupported so you get warnings. That method doesn’t work for bold/italic/etc instead you have to resort to things pike ggtext::element_markdown() but that gets cumbersome in conjunction with controlling the order of levels.

joranelias,
@joranelias@mastodon.social avatar

The best option I’ve found is to insert the markdown via the labels arg to scale_*_discrete

DataAngler,
@DataAngler@vis.social avatar

@joranelias I, too, default to using scale_fill_manual() and had a maddening time mapping my colors onto factor levels with alluvial diagrams. #rstats

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • magazineikmin
  • mdbf
  • thenastyranch
  • khanakhh
  • rosin
  • Youngstown
  • ethstaker
  • slotface
  • modclub
  • kavyap
  • DreamBathrooms
  • everett
  • ngwrru68w68
  • JUstTest
  • InstantRegret
  • tacticalgear
  • GTA5RPClips
  • cubers
  • normalnudes
  • osvaldo12
  • tester
  • anitta
  • cisconetworking
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines