INNER CODE UNIT · Python

x

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

        x = (start + end) / 2
        pos = int(x)
        self._pos2text_kws[pos] = dict(
            x=x,
            y=self.msa_count + 0.75,
            s=text,
            color=text_color,
            size=text_size,
            ha="center",
            va="bottom",
        )
        # Add annotation range line markers
        marker_size = 10 * (self._x_unit_size / 0.14)
        self.add_markers([range], marker="_", color=range_color, size=marker_size)

    def plotfig(self, dpi: int = 100) -> Figure:
        """Plot figure

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…