Skip to content

Commit

Permalink
Merge pull request #4 from jeromepl/master
Browse files Browse the repository at this point in the history
Fix drawing names in the 'draw_stickfigure3d' tool
  • Loading branch information
omimo authored Aug 4, 2020
2 parents a46bdfa + dd020e1 commit fdb93e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymo/viz_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def draw_stickfigure3d(mocap_track, frame, data=None, joints=None, draw_names=Fa
y=parent_y + 0.1,
z=parent_z + 0.1,
s=joint,
color='rgba(0,0,0,0.9')
color='rgba(0,0,0,0.9)')

return ax

Expand Down Expand Up @@ -233,4 +233,4 @@ def nb_play_mocap(mocap, mf, meta=None, frame_time=1/30, scale=1, camera_z=500,
url = '%s?&cz=200&order=xzyi&frame_time=%f&scale=%f'%(base_url, frame_time, scale)
iframe = '<iframe frameborder="0" src=' + url + ' width="100%" height=500></iframe>'
link = '<a href=%s target="_blank">New Window</a>'%url
return IPython.display.HTML(iframe+link)
return IPython.display.HTML(iframe+link)

0 comments on commit fdb93e6

Please sign in to comment.