Code Duplication    Length = 4-4 lines in 2 locations

pyclustering/utils/__init__.py 2 locations

@@ 874-877 (lines=4) @@
871
872
        if (dimension == 2):
873
            if (data is None):
874
                axes.plot(item[0], item[1], 'w' + marker_descr);
875
            else:
876
                axes.plot(data[item][0], data[item][1], 'w' + marker_descr);
877
                
878
        elif (dimension == 3):
879
            if (data is None):
880
                axes.scatter(item[0], item[1], item[2], c = 'w', marker = marker_descr);
@@ 853-856 (lines=4) @@
850
            
851
            if (dimension == 2):
852
                if (data is None):
853
                    axes.plot(item[0], item[1], color = color, marker = marker_descr);
854
                else:
855
                    axes.plot(data[item][0], data[item][1], color = color, marker = marker_descr);
856
                    
857
            elif (dimension == 3):
858
                if (data is None):
859
                    axes.scatter(item[0], item[1], item[2], c = color, marker = marker_descr);