2a07ace76a6c93ec0519419bd4e37fd88b3c0217,examples/plot_geodesics.py,,main,#,16
Before Change
geodesic = METRIC.geodesic(initial_point=initial_point,
initial_tangent_vec=initial_tangent_vec)
points = np.vstack([geodesic(t)
for t in np.linspace(-0.7, 0.7, 20)])
visualization.plot(points)
plt.show()
After Change
fig = plt.figure(figsize=(15, 5))
im = plt.imshow(geodesic(t), animated=True)
def updatefig(*args):
global t
t += 1
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: geomstats/geomstats
Commit Name: 2a07ace76a6c93ec0519419bd4e37fd88b3c0217
Time: 2018-02-02
Author: ninamio78@gmail.com
File Name: examples/plot_geodesics.py
Class Name:
Method Name: main
Project Name: nilearn/nilearn
Commit Name: 59442085239832e1e622d1ff390746666391c572
Time: 2016-03-02
Author: moritz.boos@gmail.com
File Name: examples/02_decoding/plot_miyawaki_encoding.py
Class Name:
Method Name:
Project Name: raghakot/keras-vis
Commit Name: 4e8a831d2a4f4ce8d80c25d43c614255237da71a
Time: 2016-12-24
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_random