correction of an error on selection by label on grid plot

link to #2751
10 jobs for feature-c/2751-la-selection-par-les-labels-de-certains-axes-est-fausse-2 in 4 minutes and 35 seconds (queued for 2 seconds)