You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I randomly encountered a bug while working with the ggplot package. I was trying to create an empty plot with secondary (so other functions in my package can fill it up later). However, adding the secondary axis to an empty ggplot object throws an error if the object is called.
Hi,
I randomly encountered a bug while working with the ggplot package. I was trying to create an empty plot with secondary (so other functions in my package can fill it up later). However, adding the secondary axis to an empty ggplot object throws an error if the object is called.
E.g.,:
which throws this error when calling
plot
However, adding a geom (either before or after adding the secondary axis) fixes the issue:
Best,
Frantisek
The text was updated successfully, but these errors were encountered: