8c7fab7cf13506caee8ffeb3e2dacbac9f44b64e,lib/matplotlib/quiver.py,Barbs,set_offsets,#Barbs#Any#,1178

Before Change


        x, y, u, v = delete_masked_points(self.x.ravel(), self.y.ravel(),
                                          self.u, self.v)
        _check_consistent_shapes(x, y, u, v)
        xy = np.hstack((x[:, np.newaxis], y[:, np.newaxis]))
        mcollections.PolyCollection.set_offsets(self, xy)
        self.stale = True

    set_offsets.__doc__ = mcollections.PolyCollection.set_offsets.__doc__

After Change


        x, y, u, v = delete_masked_points(self.x.ravel(), self.y.ravel(),
                                          self.u, self.v)
        _check_consistent_shapes(x, y, u, v)
        xy = np.column_stack((x, y))
        mcollections.PolyCollection.set_offsets(self, xy)
        self.stale = True

    set_offsets.__doc__ = mcollections.PolyCollection.set_offsets.__doc__
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 12

Instances


Project Name: matplotlib/matplotlib
Commit Name: 8c7fab7cf13506caee8ffeb3e2dacbac9f44b64e
Time: 2018-03-03
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/quiver.py
Class Name: Barbs
Method Name: set_offsets


Project Name: matplotlib/matplotlib
Commit Name: 8c7fab7cf13506caee8ffeb3e2dacbac9f44b64e
Time: 2018-03-03
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/quiver.py
Class Name: Barbs
Method Name: set_offsets


Project Name: matplotlib/matplotlib
Commit Name: 8c7fab7cf13506caee8ffeb3e2dacbac9f44b64e
Time: 2018-03-03
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/quiver.py
Class Name: Barbs
Method Name: set_UVC


Project Name: matplotlib/matplotlib
Commit Name: 8c7fab7cf13506caee8ffeb3e2dacbac9f44b64e
Time: 2018-03-03
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/quiver.py
Class Name: Barbs
Method Name: __init__


Project Name: scipy/scipy
Commit Name: 9177e55eb4de8d775ffa18289907c8d58a2344cd
Time: 2016-02-16
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/spherical_voronoi.py
Class Name:
Method Name: calc_circumcenter_circumsphere_tetrahedron_vectorized


Project Name: matplotlib/matplotlib
Commit Name: 8c7fab7cf13506caee8ffeb3e2dacbac9f44b64e
Time: 2018-03-03
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/quiver.py
Class Name: Quiver
Method Name: _angles_lengths