remove extra self in InProcess.enable_matplotlib