removed matplotlib dependencies