-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Divorce labels #38
Divorce labels #38
Conversation
Fetch latest changes
Some nice changes in here Teun. I'll have a look through the code and figure out how it works. Do you want to put in some examples of labelpath to the readme, or even a vignette? Should we have matching geoms for labelpaths and textpaths? |
The |
Yes, the readme is very long, but I think it's good to have lots of examples to entice the curious. Perhaps replacing rather than adding examples might be better, but obviously we need some work on the vignettes. The I suppose one thing we're going to be asked at some point is whether a |
Examples are nice, especially for a plotting package. I think we should aim for showing a wide range of applications and leave some of the details, such as the
Should we create the SE ribbon in this case? Would it make any sense to give the option to let the user choose which path to label if we do include the ribbon (i.e. a min/mid/max option)?
I have 0 experience with {sf} so I have no clue how feasible this might be. However, |
I'm not convinced we need a ribbon (though I am prepared to be convinced). The strongest argument I can think of in favour of the ribbon is that it would allow us to say that our geoms do all the same things that the native geoms do, but simply add curved text labels. That probably makes the package easier to use. The main problem I have with it is that in many cases the text will sit half inside, half outside the ribbon. Your suggestion that the min/mid/max lines could be chosen is a good one - it comes with some added code complexity, but at least on this occasion the code modifications could be done within the geom itself rather than further burdening poor old
I have very little. I think I have 23
This seems sensible. All the iris density plots are probably a bit repetitive. |
In brief this PR:
labelpathGrob()
fromtextpathGrob()
.labelpathGrob()
.