yx np meshgrid(yxxy np vstack([ ravel() ravel()] model decision_function(xyreshape( shapenextwe need to plot decision boundaries and margins as followsax contour(xypcolors=' 'levels=[- ]alpha= linestyles=['--''-''--']nowsimilarly plot the support vectors as followsif plot_supportax scatter(model support_vectors_[: ]model support_vectors_[: ] = linewidth= facecolors='none')ax set_xlim(xlimax set_ylim(ylimnowuse this function to fit our models as followsplt scatter( [: ] [: ] =ys= cmap='summer'decision_function(model)