fix test: graphics were overflowing to the next page

2 jobs for master in 1 minute and 17 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #5579
testsuite_matlab

00:00:21

passed #5580
testsuite_octave

00:01:16