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 32 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build Docker
passed #1346649
build_docker_from_scratch

00:11:59

 
  Test
passed #1346655
test_mpi

00:00:37

passed #1346653
test_serial

00:04:22

86.0%
 
  Release
passed #1346657
pages

00:01:28

 
  Demo Runs
passed #1346671
run_bernoulli

00:00:35

passed #1346673
run_curve_fitting

00:00:34

passed #1346663
run_getting_started_1

00:00:39

passed #1346665
run_getting_started_2

00:01:01

passed #1346667
run_getting_started_3

00:02:48

passed #1346669
run_getting_started_mf

00:07:40

passed #1346659
run_ipynb0

00:01:28

passed #1346662
run_ipynb1

00:00:41

passed #1346675
run_visual_mgvi

00:01:15

 
  Deploy
passed pages:deploy

00:00:03