Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vae.py line 320 use this to plot #5

Open
djaym7 opened this issue May 13, 2021 · 0 comments
Open

vae.py line 320 use this to plot #5

djaym7 opened this issue May 13, 2021 · 0 comments

Comments

@djaym7
Copy link

djaym7 commented May 13, 2021

replace these lines -
plt.scatter(m1s, m2s, c=labels)
plt.legend([str(i) for i in set(labels)])

with the lines below -
scatter = plt.scatter(m1s, m2s, c=labels)
plt.legend(handles=scatter.legend_elements()[0], labels=set(labels))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant