docstr: Override graph layout for app use
  ----------------------------------------
  x_ax: title of the x-axis
  y_ax: title of the y-axis
  ---------------------------------------
docstr_tok: ["Override","graph","layout","for","app","use","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","x_ax",":","title","of","the","x-axis","y_ax",":","title","of","the","y-axis","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-"]
code: def adjust_graph_static(figure, x_ax="", y_ax=""):
      """
      Override graph layout for app use
      ----------------------------------------
      x_ax: title of the x-axis
      y_ax: title of the y-axis
      ---------------------------------------
      """
      new_title = update_title(figure.layout.title.text)
      figure.update_layout(
          autosize=True,
          margin=dict(l=50, r=10, b=10, t=67, pad=0),
          width=None,
          height=None,
          title={
              "y": 0.95,
              "x": 0.5,
              "xanchor": "center",
              "yanchor": "top",
              # update title and font-size of the title
              "text": '<span style="font-size: 1.2vw;">'
              + new_title
              + "</span>",
          },
      )
      # update x title and font-size of the title
      figure.update_xaxes(
          title='<span style="font-size: 1vw;">' + x_ax + "</span>",
          automargin=True,
      )
      # update y title and font-size of the title
      figure.update_yaxes(
          title='<span style="font-size: 1vw;">' + y_ax + "</span>",
          automargin=True,
      )
  
imports: from dash import dcc
  import re
label_desc: Use image node_id 2 for calling the MyGraph obj's underlying member method code with example usage: obj.adjust_graph_static(figure, x_ax, y_ax) without return types