matiasandina / ggethos

https://matiasandina.github.io/ggethos/
Other
1 stars 1 forks source link

aesthetic `group` produces some strange behavior #17

Open matiasandina opened 6 months ago

matiasandina commented 6 months ago

I have to come up with a reproducible example. The main idea is this: Let's say you have 2 sessions for the same animal. Let's say they are discontinuous and you want to plot them on the same PANEL. Then, using the group aesthetic, that helps to create the gap. Otherwhise , geom_ethogram() will plot a continuous segment from the end of one session to the next, extending the last behavior.

[insert reprex here]

For reasons that escape me at this moment. This creates a bug where some animals are not correctly plotted.

[still need another reprex here]