Skip to content

Commit

Permalink
Update plotting.py
Browse files Browse the repository at this point in the history
  • Loading branch information
agosztolai authored Jun 28, 2023
1 parent fcc9292 commit e354333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MARBLE/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def embedding(
ax.scatter(emb_[t, 0], emb_[t, 1], emb_[t, 2], c=cgrad, alpha=alpha, s=s, label=title)
else:
if dim == 2:
ax.scatter(emb_[:, 0], emb_[:, 1], c=c, alpha=alpha, s=s, label=title)
ax.scatter(emb_[:, 0], emb_[:, 1], c=c_, alpha=alpha, s=s, label=title)
elif dim == 3:
ax.scatter(emb_[:, 0], emb_[:, 1], emb_[:, 2], c=c, alpha=alpha, s=s, label=title)

Expand Down

0 comments on commit e354333

Please sign in to comment.