From 4dfc63a88e2812e71f54266f24311045603228e4 Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Thu, 1 Feb 2024 13:09:11 +0100
Subject: [PATCH] [doc] Fix typos

---
 src/mednet/engine/saliency/viewer.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mednet/engine/saliency/viewer.py b/src/mednet/engine/saliency/viewer.py
index 6e383801..7caae835 100644
--- a/src/mednet/engine/saliency/viewer.py
+++ b/src/mednet/engine/saliency/viewer.py
@@ -63,7 +63,7 @@ def _overlay_saliency_map(
     Parameters
     ----------
     image
-        The input image that will be overlayed with the saliency map.
+        The input image that will be overlaid with the saliency map.
     saliencies
         The saliency map that will be overlaid on the (raw) image.
     colormap
@@ -118,7 +118,7 @@ def _overlay_bounding_box(
     Parameters
     ----------
     image
-        The input image that will be overlayed with the saliency map.
+        The input image that will be overlaid with the saliency map.
     bbox
         The bounding box to draw on the input image.
     color
@@ -149,13 +149,13 @@ def _process_sample(
     saliencies: numpy.typing.NDArray[numpy.double],
     ground_truth: BoundingBoxes,
 ) -> PIL.Image.Image:
-    """Generate an overlayed representation of the original sample and saliency
+    """Generate an overlaid representation of the original sample and saliency
     maps.
 
     Parameters
     ----------
     raw_data
-        The raw data representing the input sample that will be overlayed with
+        The raw data representing the input sample that will be overlaid with
         saliency maps and annotations.
     saliencies
         The saliency map recovered from the model, that will be imprinted on
@@ -166,7 +166,7 @@ def _process_sample(
     Returns
     -------
     PIL.Image.Image
-        An image with the original raw data overlayed with the different
+        An image with the original raw data overlaid with the different
         elements as selected by the user.
     """
 
-- 
GitLab