python - Defining a binary matplotlib colormap -


I tried to plot a boolean 2D array using matplotlib.imshow D / D wants to be able to choose two colors (one for a true and false ) It seems that the logic of imshow To be passed as a colormap, but in my case it seems a bit of an overkill as I do not need continuous and more important, I do not know how to Tm defines Klrmap to (matplotlib doctor did not help me with it).


Comments

Popular posts from this blog

Active Directory Authenticated Proxy Server with Squid or CNTLM -

java - @PluginTarget(Node.class) not registering as neo4j plugin -

python - Calculate STD manually using Groupby Pandas DataFrame -