plot_contour updated