Open paocorrales opened 2 months ago
The problem is that the kriging algorithm interpolated values outside the observed range (~0, in this case), but the automatic breaks are computed using the data range.
It's not trivial because the breaks are computed in the setup_params
step which is run before any step that modifies data in ggplot2. So setup_params
would need to krige the data just to throw away the result. I guess I could krige the data at that stage and memoise the result and retrieve it in the compute_group
/setup_data
step.
Adding breaks = seq(-1, 20, 1) fixes the hole.