5cc17e87542da0ec1b41d3c159caeb22ac493cd2,GPy/plotting/matplot_dep/visualize.py,mocap_data_show,finalize_axes,#mocap_data_show#,472
Before Change
self.line_handle[0].remove()
def finalize_axes(self):
self.axes.set_xlim(self.x_lim)
self.axes.set_ylim(self.y_lim)
self.axes.set_zlim(self.z_lim)
self.axes.auto_scale_xyz([-1., 1.], [-1., 1.], [-1., 1.])
After Change
// self.axes.auto_scale_xyz([-1., 1.], [-1., 1.], [-1., 1.])
extents = np.array([getattr(self.axes, "get_{}lim".format(dim))() for dim in "xyz"])
sz = extents[:,1] - extents[:,0]
centers = np.mean(extents, axis=1)
maxsize = max(abs(sz))
r = maxsize/2
for ctr, dim in zip(centers, "xyz"):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: SheffieldML/GPy
Commit Name: 5cc17e87542da0ec1b41d3c159caeb22ac493cd2
Time: 2015-06-28
Author: z.dai@sheffield.ac.uk
File Name: GPy/plotting/matplot_dep/visualize.py
Class Name: mocap_data_show
Method Name: finalize_axes
Project Name: librosa/librosa
Commit Name: 8e4250ba8221d956c282067d11e2df8a4c3299ab
Time: 2015-01-28
Author: brian.mcfee@nyu.edu
File Name: librosa/display.py
Class Name:
Method Name: __axis_log
Project Name: has2k1/plotnine
Commit Name: 7df71763830c03d9484263e3ec70052a55dc2877
Time: 2018-05-06
Author: has2k1@gmail.com
File Name: plotnine/facets/facet.py
Class Name: facet
Method Name: set_breaks_and_labels
Project Name: arviz-devs/arviz
Commit Name: 1b2ecdd33090c5a9c726d6d3b3c365d5db56f272
Time: 2020-04-05
Author: oriol.abril.pla@gmail.com
File Name: arviz/plots/backends/matplotlib/pairplot.py
Class Name:
Method Name: plot_pair
Project Name: scipy/scipy
Commit Name: af6f52cd3cee8ade0c4a78d6ef254279c0af111a
Time: 2017-01-31
Author: perimosocordiae@gmail.com
File Name: scipy/spatial/_plotutils.py
Class Name:
Method Name: _adjust_bounds