finish plot config