62aa97cee99d3ab2faf1efda1f55238370e767cd,epicycles.py,EclipticPoleWindow,idle_cb,#EclipticPoleWindow#,114
Before Change
dist = p.earth_distance
dist_scale = halfheight * dist / self.auscale
x = dist_scale * math.cos(ra) + halfwidth
y = dist_scale * math.sin(ra) + halfheight
if self.planet_paths[i]:
ctx.set_source_rgb(*color_to_triplet(self.planet_colors[i]))
ctx.new_path()
ctx.move_to(*self.planet_paths[i][-1])
After Change
ctx.stroke()
ctx.close_path()
self.planet_paths[i].append((ra, dist))
// Returning True reschedules the timeout.
return self.stepping
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: akkana/scripts
Commit Name: 62aa97cee99d3ab2faf1efda1f55238370e767cd
Time: 2020-03-01
Author: akkana@shallowsky.com
File Name: epicycles.py
Class Name: EclipticPoleWindow
Method Name: idle_cb
Project Name: nipy/dipy
Commit Name: 3c4ffa6b9e64f6d521fe27b1d3bfd503a4df5f59
Time: 2010-06-29
Author: matthew.brett@gmail.com
File Name: dipy/core/tests/test_geometry.py
Class Name:
Method Name: test_sphere_distance
Project Name: pavlin-policar/openTSNE
Commit Name: 235ca2e812585db5b6bf915054f3c96fc318bb53
Time: 2021-03-12
Author: pavlin.g.p@gmail.com
File Name: openTSNE/tsne.py
Class Name: gradient_descent
Method Name: __call__