|
sns.heatmap(df, cmap=colors, ax=ax, xticklabels=False, |
I wasnt able to customize the plot_waterfall colors since cmap parameter of seaborn.heatmap is hardcoded.
wouldnt hurt to:
cmap = kwargs.get('cmap', colors)
sns.heatmap(df, ax=ax, xticklabels=False,cbar=False, vmin=0, vmax=len(colors), **kwargs)
or any more elegant solution - I am not that good with python.
fuc/fuc/api/pymaf.py
Line 3270 in 7b0fbfb
I wasnt able to customize the plot_waterfall colors since cmap parameter of seaborn.heatmap is hardcoded.
wouldnt hurt to:
cmap = kwargs.get('cmap', colors)sns.heatmap(df, ax=ax, xticklabels=False,cbar=False, vmin=0, vmax=len(colors), **kwargs)or any more elegant solution - I am not that good with python.