Skip to content

keep seaborn.heatmap's cmap as **kwargs #75

@kandabarau

Description

@kandabarau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions