Comments (3)
Note: This only applies when the values spans both the positive and negative domain. If values span only the positive or only the negative, I agree that there should only be 1-tone.
Im not sure if you are denoting small numbers to be negative numbers, or small as in the magnitude. If you are suggesting that the color scale should diverge in the same color spectrum (e.g. white when near 0 and red when going in either positive or negative direction), I don't agree with this. If you are suggesting that a sequential colorbar should be used (e.g. white for the most negative number, and increasing as values increase), I don't agree with this either.
I believe the intensity of color should be based on the absolute magnitude of the value, and color to mean which direction the magnitude is (one color for positive and another for negative). Otherwise, you dont get a one-to-one correspondence from a number to a color. -5 should show as being different color than +5 because they are different.
See some examples below. I sample a weighted sbm where on the first diagonal block is sampled from N(-2, .5) and second diagonal block is sampled from N(2, .5). Off diagonals are just binary.
Choosing the most negative to be white doesn't make sense. Presence of color should mean magnitudes > 0.
Choosing the 0 to be white and diverge in same color. Looks fine, but how do i know which value the color correspond to? there is no one-to-one correspondence from value to color
This one makes most sense to me.
from graspologic.
Sure; that logic makes sense
from graspologic.
did't realize it has an option for colormap. that works too!
from graspologic.
Related Issues (20)
- [BUG] Graph matching errors when similarity matrix has unequal dimensions
- Impossible to use, get error message AttributeError: module 'numpy' has no attribute 'object' [BUG] HOT 4
- Installing graspologic on M1 HOT 1
- [BUG] Error in `graph_match` with optimal transport HOT 10
- Ensure we have a non-dev-mode install of graspologic as part of CI/CD workflow
- Audit test warnings for deprecation warnings HOT 1
- [BUG] graspologic v.2.0.1 and networkx 3.0 incompatibility leads to a crash HOT 1
- [BUG] Following the first tutorial on the documentation, first example fails due to networkx HOT 2
- Add CITATION.cff file HOT 2
- MatplotlibDeprecationWarning to address
- Numpy DeprecationWarning to address HOT 1
- Sklearn FutureWarning to address
- [BUG] What does "Spectral Vertex Nomination" implement? HOT 1
- [BUG] graspologic takes 33 seconds to import HOT 9
- [BUG] The docs do not reflect the modification of the graph_match module HOT 1
- [BUG] Numba warnings
- The whole package works with numpy matrices; why doesn't node2vec? HOT 1
- [BUG] Remove outdated Zenodo DOI from README.md HOT 5
- [BUG] Reporting fails due to upstream issue (matplotlib) HOT 3
- [BUG] giant gensim error when trying to pip install on 3.10.6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graspologic.