giotto-ai / giotto-tda

A high-performance topological machine learning toolbox in Python
https://giotto-ai.github.io/gtda-docs
Other
858 stars 175 forks source link

Allow plot_heatmap to take boolean arguments #444

Closed ulupo closed 4 years ago

ulupo commented 4 years ago

Reference issues/PRs Follows observations made in #442.

Types of changes

Description A simple multiplication by 1 is used to automatically cast data to a numeric dtype. In this way, boolean arrays are allowed in plot_heatmap.

Checklist

ulupo commented 4 years ago

@gtauzin attracting your attention to this as it will be relevant to #442 if merged.