From ef1436bca390ee916b7119036ab2d3de8d1344fb Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 28 Feb 2025 12:44:55 -0600 Subject: Fix linting errors. --- gn3/heatmaps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3/heatmaps.py') diff --git a/gn3/heatmaps.py b/gn3/heatmaps.py index b6822d4..511996a 100644 --- a/gn3/heatmaps.py +++ b/gn3/heatmaps.py @@ -292,7 +292,7 @@ def process_traits_data_for_heatmap(data, trait_names, chromosome_names): for chr_name in chromosome_names] return hdata -def clustered_heatmap( +def clustered_heatmap(# pylint: disable=[too-many-positional-arguments] data: Sequence[Sequence[float]], clustering_data: Sequence[float], x_axis,#: Dict[Union[str, int], Union[str, Sequence[str]]], y_axis: Dict[str, Union[str, Sequence[str]]], @@ -335,7 +335,7 @@ def clustered_heatmap( fig.add_trace( heatmap, row=((i + 2) if vertical else 1), - col=(1 if vertical else (i + 2))) + col=(1 if vertical else i + 2)) axes_layouts = { "{axis}axis{count}".format( # pylint: disable=[C0209] -- cgit 1.4.1