Changeset 8416:76c457b1fb00 in orange


Ignore:
Timestamp:
07/22/11 15:43:53 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
0d535765ae6d5a5e55367a7addfc32749913748c
Message:

owscatterplot3d: shouldnt copy data if not necessary

File:
1 edited

Legend:

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

    r8415 r8416  
    418418        array = self.data_array 
    419419        X, Y, Z = array[:, x_index], array[:, y_index], array[:, z_index] 
    420         X, Y, Z = map(numpy.copy, [X, Y, Z]) 
    421420 
    422421        if self.jitter_size > 0: 
     422            X, Y, Z = map(numpy.copy, [X, Y, Z]) 
    423423            x_range = numpy.max(X)-numpy.min(X) 
    424424            y_range = numpy.max(Y)-numpy.min(Y) 
Note: See TracChangeset for help on using the changeset viewer.