Merge branch 'mpl_deprecation_backport' into 'NIFTy_6'

Fix matplotlib deprecation warning

See merge request !580
14 jobs for NIFTy_6 in 25 minutes and 43 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build Docker
passed #1252266
build_docker_from_scratch

00:12:12

 
  Test
passed #1252271
test_mpi

00:00:36

passed #1252268
test_serial

00:04:21

86.0%
 
  Release
passed #1252274
pages

00:01:27

 
  Demo Runs
passed #1252289
run_bernoulli

00:00:37

passed #1252291
run_curve_fitting

00:00:35

passed #1252281
run_getting_started_1

00:00:40

passed #1252283
run_getting_started_2

00:01:01

passed #1252284
run_getting_started_3

00:02:46

passed #1252287
run_getting_started_mf

00:07:40

passed #1252277
run_ipynb0

00:01:30

passed #1252279
run_ipynb1

00:00:43

passed #1252292
run_visual_mgvi

00:01:16

 
  Deploy
passed pages:deploy

00:00:01