Removed temporary matplotlib imports.