code: def print(self, style=None):
      if style is not None:
          self.print_specific_style(style)
      else:
          try:
              from IPython.display import display
  
              display(self)
          except ImportError:
              self._ascii_print()
  
file_path: lifelines/lifelines/utils/printer.py
imports: from typing import *
  import numpy
  from lifelines import utils
  import pandas
label_desc: Use image node_id 4 for calling the Printer obj's underlying member method code with example usage: obj.print(style) without return types