Open hewsond opened 3 years ago
so the problem is that intercept
currently has to be a scalar, and you want a vector? seems like a good feature to have. yes, please submit a PR. thanks!
Note that there's also Geom.segment
which got an update in #1465. Geom.segment
could be used to do the lower plots above (albeit both x/xend or y/yend need to be specified). In Grammar of Graphics, Geom.hair = Geom.segment + Stat.hair
.
Hi,
Fantastic library.
I was playing around with this and noticed that hair plots couldn't work as a lolipop chart despite having the option to set the intercept. e.g.
Having a play around with the code I was able to implement the following by changing the library.
I was wondering would this be a feature that that you'd want added to the Geom.hair?
If so I can create a pull request.