only define clean_2D_field if plt and cm present