Fix bug when plotting functions with underscores in labels

9 jobs for develop in 33 minutes and 8 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed test integration:3.6 #716165

00:01:23

passed test integration:3.7 #716166

00:01:23

passed test integration:latest #716164

00:01:23

passed test unit:3.6 #716162

00:01:40

passed test unit:3.7 #716163

00:01:24

passed test unit:latest #716161

00:01:44

passed test validation:3.6 #716168

00:32:10

passed test validation:3.7 #716169

00:33:06

passed test validation:latest #716167

00:25:24