INNER CODE UNIT · Python

add_text_annotation

moshi4/pyMSAviz · src/pymsaviz/msaviz.py:345

    def add_text_annotation(
        self,
        range: tuple[int, int],
        text: str,
        *,
        text_color: str = "black",
        text_size: float = 10,
        range_color: str = "black",
    ) -> None:
        """Add text annotation in specified range

        Parameters
        ----------
        range : tuple[int, int]
            Annotation start-end range tuple
        text : str
            Annotation text
        text_color : str, optional

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…