https://github.com/tdhock/2026-08-apprentissage/blob/main/figure-sur-sous-apprentissage-test-neighbors.R breaks with new code from #247 which does not work with interactive updates to geom_text() elements. @ANAMASGARD can you please investigate and create a simpler test case that fails?
After clicking 40 voisins (neighbors) it should look like this:
but using setMultilineText(), the geom_text at y=sélection* is not updated to the correct x position.
Reverting to .text() fixes this, so I will push that fix to master.
https://github.com/tdhock/2026-08-apprentissage/blob/main/figure-sur-sous-apprentissage-test-neighbors.R breaks with new code from #247 which does not work with interactive updates to geom_text() elements. @ANAMASGARD can you please investigate and create a simpler test case that fails?
After clicking 40 voisins (neighbors) it should look like this:
but using setMultilineText(), the geom_text at y=sélection* is not updated to the correct x position.
Reverting to .text() fixes this, so I will push that fix to master.