Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
memgonzales committed Jul 5, 2023
2 parents 2ee5f09 + 66a6a05 commit c7eae8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion callbacks/home/embeddings_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def display_embeddings(checklist_embeddings, n_clicks, word):
x=0, y=1, z=2,
color=sense_id_list)
camera = dict(
eye=dict(x=2, y=2, z=1)
eye=dict(x=1.75, y=1.75, z=1)
)

fig.update_layout(legend_title_text='Word Sense',
Expand All @@ -44,5 +44,10 @@ def display_embeddings(checklist_embeddings, n_clicks, word):
zaxis_title='Component 3'),
scene_camera=camera
)
# fig.update_traces(marker=dict(size=8)
# line=dict(width=2,
# color='DarkSlateGrey')),
# selector=dict(mode='markers')
# )
return fig
raise PreventUpdate

0 comments on commit c7eae8d

Please sign in to comment.