about summary refs log tree commit diff
path: root/gn3/heatmaps.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-28 12:44:55 -0600
committerFrederick Muriuki Muriithi2025-02-28 12:44:55 -0600
commitef1436bca390ee916b7119036ab2d3de8d1344fb (patch)
tree8ed0197669d51d2f825080bfbda10e35fa2403aa /gn3/heatmaps.py
parent4edc4450e6fe578212600ad9733f0fa6eb3ffc9f (diff)
downloadgenenetwork3-ef1436bca390ee916b7119036ab2d3de8d1344fb.tar.gz
Fix linting errors.
Diffstat (limited to 'gn3/heatmaps.py')
-rw-r--r--gn3/heatmaps.py4
1 files changed, 2 insertions, 2 deletions
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]