MAINT: pyplot module raises warning if matplotlib missing.