8150e189ca71e482c4fdadd4345e3c4b4b5a0a68,enthought/chaco/contour_line_plot.py,ContourLinePlot,_update_contours,#ContourLinePlot#,107

Before Change


        // x and ydata are "fenceposts" so ignore the last value        
        // XXX: this truncation is causing errors in Cntr() as of r13735
        if self.orientation == "h":
            xg, yg = meshgrid(self.index._xdata.get_data(), //[:-1],
                              self.index._ydata.get_data()) //[:-1])
            c = Cntr(xg, yg, self.value.raw_value)
        else:

After Change


         Updates the cache of contour lines 
        // x and ydata are "fenceposts" so ignore the last value        
        // XXX: this truncaton is causing errors in Cntr() as of r13735
        xdata = self.index._xdata.get_data()
        ydata = self.index._ydata.get_data()
        xs = linspace(xdata[0], xdata[-1], len(xdata)-1)
        ys = linspace(ydata[0], ydata[-1], len(ydata)-1)
        xg, yg = meshgrid(xs, ys)
        if self.orientation == "h":
            c = Cntr(xg, yg, self.value.raw_value)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: enthought/chaco
Commit Name: 8150e189ca71e482c4fdadd4345e3c4b4b5a0a68
Time: 2010-04-15
Author: pwang@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/contour_line_plot.py
Class Name: ContourLinePlot
Method Name: _update_contours


Project Name: enthought/chaco
Commit Name: 8150e189ca71e482c4fdadd4345e3c4b4b5a0a68
Time: 2010-04-15
Author: pwang@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/contour_poly_plot.py
Class Name: ContourPolyPlot
Method Name: _update_polys


Project Name: dPys/PyNets
Commit Name: 449ce796e6f506a28075f16099c986e298141569
Time: 2017-11-12
Author: dpisner@utexas.edu
File Name: pynets/nodemaker.py
Class Name:
Method Name: gen_network_parcels