Changeset 3366

Show
Ignore:
Timestamp:
05/15/08 16:32:54 (2 months ago)
Author:
hana
Message:

(hana) a method added

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/opus_core/datasets/abstract_dataset.py

    r3275 r3366  
    10921092        plot_histogram(values, main=main, xlabel=name, bins=bins) 
    10931093 
     1094    def compute_and_plot_histogram(self, name, dataset_pool=None, **kwargs): 
     1095        self.compute_variables(name, dataset_pool=dataset_pool) 
     1096        self.plot_histogram(name, **kwargs) 
     1097         
    10941098    def plot_scatter(self, name_x, name_y, main="", npoints=None, **kwargs): 
    10951099        """Create a scatter plot of the attributes given by 'name_x' (x-axis) and 'name_y' (y-axis) and display its correlation coefficient.