Skip to content

Commit 48968f3

Browse files
authored
Merge branch 'master' into bug#4
2 parents 4e06e2d + 509ad40 commit 48968f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

malariagen_data/anoph/frq_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def plot_frequencies_heatmap(
276276
heatmap_df.set_index(index_col, inplace=True)
277277

278278
# Clean column names.
279-
heatmap_df.columns = heatmap_df.columns.str.lstrip("frq_")
279+
heatmap_df.columns = heatmap_df.columns.str.removeprefix("frq_")
280280

281281
# Deal with width and height.
282282
if width is None:

0 commit comments

Comments
 (0)