fish-quant/big-fish

Changing the colour on plots

Closed this issue · 2 comments

Hi, is there a way to change the colour scheme for the plots generated in Big-FISH. The heat maps currently generated aren't ideal for my purposes.

Sachin

Hi Sachin,

I guess it is possible (and it's already the case for some plots), but I need you to give me more details. Which plot and which element within the plot do you want to modify? Are you talking about the colormap of the image ? By default it is viridis.

Sachin, you can change the default color map via matplotlib rcParams:

from matplotlib import pyplot as plt
plt.rcParams['image.cmap'] = 'magma'