Vindaar / ggplotnim

A port of ggplot2 for Nim
https://vindaar.github.io/ggplotnim
MIT License
175 stars 15 forks source link

Maybe add a `GeomKind` for every `geom_*` procedure #159

Open Vindaar opened 1 year ago

Vindaar commented 1 year ago

Currently we map many geom_* procedures to specific underlying geom kinds, e.g. geom_smooth -> gkLine. For certain cases (error messages, clarity in internal code, ...) it may be useful to stop this mapping and instead keep the geom kinds around. Some code would need to be changed to handle not a single, but multiple "equivalent" (in certain cases) geoms though.