Plot_click gives incorrect x & y when used with plot_grid

I'm using ggplot2; when there is only one plot, the plot_click X and Y values returned are OK. However, when used with plot_grid (2 plots in the grid), the values are incorrect. Workaround?

It's much easier to answer questions about code with code, so if you could include reprex (short for reproducible example), that would help us help you.

If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page.

1 Like