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

Adjacency plot before and after learning looks same. Probably color map needs to be rescaled. #518

Closed
anandpathak31 opened this issue Jan 6, 2025 · 0 comments · Fixed by #519 · May be fixed by #520
Closed

Adjacency plot before and after learning looks same. Probably color map needs to be rescaled. #518

anandpathak31 opened this issue Jan 6, 2025 · 0 comments · Fixed by #519 · May be fixed by #520
Assignees

Comments

@anandpathak31
Copy link
Contributor

@harisorgn The adjacency plotting recipe in Makie extension currently uses grayscale colormap. Probably, by default it scales from 0 to 1.
Anything more than 1 it colors the same. That's why we don't see any difference in before and after learning plots in tutorial.
We need to modify the plotting recipe. One possible way is to rescale the adjacency matrix, divide the whole matrix by the maximum possible weight. That can be a keyword arg. Or if there is a direct setting in the colormap itself.

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