data= sm.cluster(K,K_opt)
While using the code above, I get the following result, see figure below 1.