def METHOD_NAME(self, *junk: object) -> None:
    if not self.tag_cget("sel", "font"):
        # view was created just a moment ago, set_font() hasn't ran yet
        return
    start_bbox = self.bbox(self._tab.textwidget.index("@0,0 linestart"))
    end_bbox = self.bbox(self._tab.textwidget.index("@0,10000000 linestart"))
    hide = set()
    if start_bbox is None and end_bbox is None:
        # no part of text file being edited is visible
        hide = set(self._lines.keys())
    minimap_width, minimap_height = textutils.textwidget_size(self)
    minimap_x_padding, minimap_y_padding = textutils.get_padding(self)
    if self._tab.textwidget.yview() == (0.0, 1.0):
        # whole file content on screen at once, show screen size instead of file content size
        # this does not take in account wrap plugin
        how_tall_are_lines_on_editor: int = self._tab.tk.call(
            "font", "metrics", self._tab.textwidget["font"], "-linespace"
        )
        how_tall_are_lines_on_minimap: int = self._tab.tk.call(
            "font", "metrics", self.tag_cget("sel", "font"), "-linespace"
        )
        editor_height = textutils.textwidget_size(self._tab.textwidget)[1]
        how_many_lines_fit_on_editor = editor_height / how_tall_are_lines_on_editor
        rect_top = 0
        rect_bottom = int(how_many_lines_fit_on_editor * how_tall_are_lines_on_minimap)
    else:
        if start_bbox is None:
            rect_top = 0
            hide.add("top")
        else:
            x, y, w, h = start_bbox
            rect_top = y - minimap_y_padding
        if end_bbox is None:
            rect_bottom = minimap_height
            hide.add("bottom")
        else:
            x, y, w, h = end_bbox
            rect_bottom = (y - minimap_y_padding) + h
    rect_height = rect_bottom - rect_top
    coords = {
        "top": (0, rect_top, minimap_width, LINE_THICKNESS),
        "left": (0, rect_top, LINE_THICKNESS, rect_height),
        "bottom": (0, rect_bottom - LINE_THICKNESS, minimap_width, LINE_THICKNESS),
        "right": (minimap_width - LINE_THICKNESS, rect_top, LINE_THICKNESS, rect_height),
    }
    for name, widget in self._lines.items():
        if name in hide:
            widget.place_forget()
        else:
            x, y, w, h = coords[name]
            self._lines[name].place(x=x, y=y, width=w, height=h)
    # TODO: figure out when exactly this is needed, remove unnecessary calls?
    self._update_sel_tag()