Now trap failures to import pgplot and matplotlib and issue a warning.