You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support multicolor visualizations using viz_spy() #11
It's possible to do this by calling spy() on the same matplotlib Axes object multiple times (once per color drawn).
This is slower than binary visualizations of an equivalent matrix, of course, since we have to filter the matrix to each unique color and then call spy() multiple times. However, spy() is already very fast, so the visualization taking ~2 seconds instead of ~0.5 seconds could be worth it. (Of course, we should probably also include an option to use the "classic" method of just producing a binary visualization of the matrix, in case the main thing is performance.)
See below for an example of such a multicolor visualization of the E. coli dot plot from the tutorial:
Activity