I am trying to use geom_path to create a plot with multiple, continuous segments of different colors, joined by round line endings. Here is an example of some code that I would expect to achieve this:
Unfortunately, using different colors in combination with the manual group assignment appears to break the line endings so that they are the default "butt":
This seems to me to be a bug, as I have used this pattern in R ggplot before and it produces the proper line endings as expected. Am I missing something obvious here? Is there a simple fix, or is this a problem that will need to be addressed in a future release?
I am trying to use geom_path to create a plot with multiple, continuous segments of different colors, joined by round line endings. Here is an example of some code that I would expect to achieve this:
Unfortunately, using different colors in combination with the manual group assignment appears to break the line endings so that they are the default "butt":
This seems to me to be a bug, as I have used this pattern in R ggplot before and it produces the proper line endings as expected. Am I missing something obvious here? Is there a simple fix, or is this a problem that will need to be addressed in a future release?