removed reference to matplotlib