We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a2bf42 + 01d5706 commit 509ad40Copy full SHA for 509ad40
1 file changed
malariagen_data/anoph/frq_base.py
@@ -276,7 +276,7 @@ def plot_frequencies_heatmap(
276
heatmap_df.set_index(index_col, inplace=True)
277
278
# Clean column names.
279
- heatmap_df.columns = heatmap_df.columns.str.lstrip("frq_")
+ heatmap_df.columns = heatmap_df.columns.str.removeprefix("frq_")
280
281
# Deal with width and height.
282
if width is None:
0 commit comments