only load matplotlib when needed

1 job for nifty2go in 4 minutes and 52 seconds
Status Job ID Name Coverage
  Test
passed #284726
test_min

00:04:52

71.0%