update matplotlib config without yaml errors