6ae8c5f4bcf78256d15adbc9091cd8701de478cf,ggplot/geoms/geom_abline.py,geom_abline,plot_layer,#geom_abline#Any#,8
Before Change
else:
intercept = 0.0
step = (np.max(x) - np.min(x)) / 100.0
x_rng = np.arange(np.min(x), np.max(x), step)
y_rng = x_rng * slope + intercept
plt.plot(x_rng, y_rng, **layer)
After Change
intercept = layer.pop("intercept")
else:
intercept = 0.0
if isinstance(x[0], Timestamp):
gca = plt.gca()
gca.set_autoscale_on(False)
gca.plot(gca.get_xlim(),gca.get_ylim())
else:
start, stop = np.max(x), np.min(x)
step = ((stop-start)) / 100.0
x_rng = np.arange(start, stop, step)
y_rng = x_rng * slope + intercept
plt.plot(x_rng, y_rng, **layer)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: has2k1/plotnine
Commit Name: 6ae8c5f4bcf78256d15adbc9091cd8701de478cf
Time: 2013-10-11
Author: austinogilvie@gmail.com
File Name: ggplot/geoms/geom_abline.py
Class Name: geom_abline
Method Name: plot_layer
Project Name: pymc-devs/pymc3
Commit Name: 8d9d3d82571371c5ef5cfa03717291ca623279f9
Time: 2019-02-26
Author: luciano.paz.neuro@gmail.com
File Name: pymc3/distributions/discrete.py
Class Name: Categorical
Method Name: logp
Project Name: yangyanli/PointCNN
Commit Name: 161b24af716a1e7a3221fce2903544ac1429387d
Time: 2018-06-08
Author: yangyan.lee@gmail.com
File Name: pointfly.py
Class Name:
Method Name: get_indices