color bug fix on matplotlib