Re: IHC Image color deconvolution

2016-08-30 Thread Koundinya Desiraju
Thank you Cedric. That helped a lot. Regards, Koundinya On Fri, Aug 26, 2016 at 9:47 AM Cedric Espenel wrote: > Hi Koundinya, > > I'm not sure if that will answer your question but if you try: > > from matplotlib.colors import LinearSegmentedColormap > cmap_Hema =

Re: IHC Image color deconvolution

2016-08-25 Thread Cedric Espenel
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'])