We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519fec2 commit f64e64fCopy full SHA for f64e64f
1 file changed
malariagen_data/anoph/frq_base.py
@@ -210,7 +210,9 @@ def plot_frequencies_heatmap(
210
211
# Indexing.
212
if index is None:
213
- index = list(df.index.names)
+ # `list[Hashable]` is incompatible with `list`
214
+ index_names_as_list = [str(name) for name in df.index.names]
215
+ index = list(index_names_as_list)
216
df = df.reset_index().copy()
217
if isinstance(index, list):
218
index_col = (
0 commit comments