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
Post a Comment