Changeset 4616:e86a71c4b4e7 in orange


Ignore:
Timestamp:
05/06/08 11:31:48 (6 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
15fe1b655ec2508bd46ed59c67d78ae7cc8230d5
Message:

replaced Numeric for numpy

Location:
orange/OrangeWidgets/Prototypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Prototypes/OWNetwork.py

    r4515 r4616  
    350350     
    351351    def setGraph(self, graph): 
    352         #print "setting" 
    353352        if graph == None: 
    354353            return 
     
    390389         
    391390        self.random() 
    392         #print "done." 
    393391     
    394392    def setExampleSubset(self, subset): 
     
    619617    def showDegreeDistribution(self): 
    620618        from matplotlib import rcParams 
    621         rcParams['text.fontname'] = 'cmr10' 
     619        #rcParams['text.fontname'] = 'cmr10' 
    622620        import pylab as p 
    623621         
  • orange/OrangeWidgets/Prototypes/OWNetworkCanvas.py

    r4513 r4616  
    1 CIRCLE=0 
    2 SQUARE=1 
    3 ROUND_RECT=2 
     1CIRCLE = 0 
     2SQUARE = 1 
     3ROUND_RECT = 2 
    44 
    55NOTHING = 0 
     
    1212 
    1313from OWGraph import * 
    14 from Numeric import * 
     14from numpy import * 
    1515from orngScaleScatterPlotData import * 
    1616from OWGraphTools import UnconnectedLinesCurve 
Note: See TracChangeset for help on using the changeset viewer.