class_docstr: Margin that displays the line numbers.
  
  :param relative: Number relative to the cursor position. Similar to the Vi
                   'relativenumber' option.
  :param display_tildes: Display tildes after the end of the document, just
      like Vi does.
code: def __init__(self, relative=False, display_tildes=False):
      self.relative = to_cli_filter(relative)
      self.display_tildes = to_cli_filter(display_tildes)
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
  from six.moves import range
  from prompt_toolkit.filters import to_cli_filter
  from prompt_toolkit.token import Token
  from prompt_toolkit.utils import get_cwidth
  from .utils import token_list_to_text
label_desc: Use image node_id 1 to create a new NumberredMargin object from inherited base classes: Margin with example: obj = NumberredMargin(relative, display_tildes)