code: def plot_layout(
      title="TDA KMapper",
      width=600,
      height=600,
      bgcolor="rgba(255, 255, 255, 1)",
      annotation_text=None,
      annotation_x=0,
      annotation_y=-0.01,
      top=100,
      left=60,
      right=60,
      bottom=60,
  ):
      
      pl_layout = dict(
          title=title,
          font=dict(size=12),
          showlegend=False,
          autosize=False,
          width=width,
          height=height,
          xaxis=dict(visible=False),
          yaxis=dict(visible=False),
          hovermode="closest",
          plot_bgcolor=bgcolor,
          margin=dict(t=top, b=bottom, l=left, r=right),
      )
  
      if annotation_text is None:
          return pl_layout
      else:
          annotations = [
              dict(
                  showarrow=False,
                  text=annotation_text,
                  xref="paper",
                  yref="paper",
                  x=annotation_x,
                  y=annotation_y,
                  align="left",
                  xanchor="left",
                  yanchor="top",
                  font=dict(size=12),
              )
          ]
          pl_layout.update(annotations=annotations)
          return pl_layout
docs: Set the plotly layout
  
      Parameters
      ----------
      width, height: integers 
          setting  width and height of plot window
      bgcolor: string, 
          rgba or hex color code for the background color
      annotation_text: string
          meta data to be displayed
      annotation_x & annotation_y:
          The coordinates of the point where we insert the annotation; the negative sign for y coord points output that annotation is inserted below the plot