Hi Koundinya,
I'm not sure if that will answer your question but if you try: from matplotlib.colors import LinearSegmentedColormap cmap_Hema = LinearSegmentedColormap.from_list('mycmap', ['white', 'navy']) cmap_DAB = LinearSegmentedColormap.from_list('mycmap', ['white', 'saddlebrown']) cmap_Eosin = LinearSegmentedColormap.from_list('mycmap', ['darkviolet', 'white']) that will do a descent job: <https://lh3.googleusercontent.com/-a4bH0zIq5JM/V7-0ZrvbtlI/AAAAAAAAGE4/iSONyuAu8OIVqWz32ZBzZbD64OkwbCCmwCLcB/s1600/immuno.png> <https://lh3.googleusercontent.com/-a4bH0zIq5JM/V7-0ZrvbtlI/AAAAAAAAGE4/iSONyuAu8OIVqWz32ZBzZbD64OkwbCCmwCLcB/s1600/immuno.png> Sincerely, Cedric On Monday, August 22, 2016 at 10:40:06 PM UTC-7, Koundinya Desiraju wrote: > > In this tutorial, > http://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_ihc_color_separation.html#sphx-glr-auto-examples-color-exposure-plot-ihc-color-separation-py > > After color deconvolution the haematoxylin and DAB channels were plotted > in grayscale but I want to show them in respective colors. For example, I > want to show DAB channel in brown. Can anyone kindly post How to do that? > > Thanks, > Koundinya > -- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscr...@googlegroups.com. To post to this group, send an email to scikit-image@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/6e3f9cff-6029-467f-9cc0-00bc4b25850a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.