cdbe12c9ecc86fb54e6310d6aeab98edc6eba879,pyntcloud/plot/points.py,,plot_PyntCloud,#Any#Any#Any#Any#,6
Before Change
conf["camera_position"] = (cloud.xyz.max(0) + abs(cloud.xyz.max(0))).tolist()
conf["look_at"] = cloud.xyz.mean(0).tolist()
with open("{}.json".format(output_name), "w") as json_out_file:
json.dump(conf, json_out_file)
cloud.to_file("{}.ply".format(output_name))
return IFrame("{}.html".format(output_name), width=width, height=height)
After Change
if "FILENAME_PLACEHOLDER" in line:
line = line.replace("FILENAME_PLACEHOLDER", ""{}"".format(output_name))
elif "CAMERA_POSITION_PLACEHOLDER" in line:
line = line.replace("CAMERA_POSITION_PLACEHOLDER", "{}".format(camera_position))
elif "LOOK_AT_PLACEHOLDER" in line :
line = line.replace("LOOK_AT_PLACEHOLDER", "{}".format(look_at))
out.write(line)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: daavoo/pyntcloud
Commit Name: cdbe12c9ecc86fb54e6310d6aeab98edc6eba879
Time: 2017-05-02
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/plot/points.py
Class Name:
Method Name: plot_PyntCloud
Project Name: cmu-db/ottertune
Commit Name: 72580f65a0e0c986d45c3afe0c2d61281df75734
Time: 2020-04-03
Author: dvanaken@cs.cmu.edu
File Name: server/website/website/management/commands/startcelery.py
Class Name: Command
Method Name: handle
Project Name: has2k1/plotnine
Commit Name: 98250a167fba43736bde5875007b0cf9fee05257
Time: 2019-12-06
Author: has2k1@gmail.com
File Name: plotnine/layer.py
Class Name: layer
Method Name: compute_aesthetics
Project Name: ray-project/ray
Commit Name: 34bae27ac7d3c39335a2b8c7d4cd4efba56aa398
Time: 2020-06-12
Author: ekhliang@gmail.com
File Name: rllib/execution/replay_buffer.py
Class Name: LocalReplayBuffer
Method Name: add_batch