restore contour legend; general rect/circle styles