code: def load_nb(cls, inline=True):
          
          from IPython.display import publish_display_data
          cls._loaded = True
          init_notebook_mode(connected=not inline)
          publish_display_data(data={MIME_TYPES['jlab-hv-load']:
                                     get_plotlyjs()})
docs: Loads the plotly notebook resources.