thackl / gggenomes

A grammar of graphics for comparative genomics
https://thackl.github.io/gggenomes/
Other
581 stars 64 forks source link

Find better way for x-axis than to overwrite `scale_x_continuous` #54

Closed thackl closed 3 years ago

thackl commented 3 years ago

Currently I export scale_x_continuous(labels=labels_bp()) to get a nice x-axis. It's convenient and works without the warning that I get when I just manually add an x-scale during plot construction. Problem is, the exported function overwrites scale_x_continuous also for ggplots... And that's definitely not a behavior I want.

Maybe it would work if just not exported the function...