code: def plotly_white():
      # Define colors
      # -------------
      colorscale = plasma
  
      # Set colorbar_common
      colorbar_common = dict(outlinewidth=0, ticks="")
  
      # Common axis common properties
      axis_common = dict(
          gridcolor=plotly_clrs["Rhino Light 2"],
          linecolor=plotly_clrs["Rhino Light 2"],
          ticks="",
          title=dict(standoff=15),
      )
  
      # Near black line color, no fill
      annotation_clr = plotly_clrs["Rhino Core"]
      shape_defaults = dict(line_color=annotation_clr)
  
      # Remove arrow head and make line thinner
      annotation_defaults = {
          "arrowcolor": annotation_clr,
          "arrowhead": 0,
          "arrowwidth": 1,
      }
  
      template = initialize_template(
          paper_clr="white",
          font_clr=plotly_clrs["Rhino Core"],
          panel_background_clr="white",
          panel_grid_clr=plotly_clrs["Rhino Medium 2"],
          axis_ticks_clr=plotly_clrs["Rhino Core"],
          zerolinecolor_clr=plotly_clrs["Rhino Light 2"],
          table_cell_clr=plotly_clrs["Rhino Light 2"],
          table_header_clr=plotly_clrs["Rhino Medium 2"],
          table_line_clr="white",
          colorway=plotly_colorway,
          colorbar_common=colorbar_common,
          colorscale=colorscale,
          colorscale_diverging=plotly_diverging,
          axis_common=axis_common,
          annotation_defaults=annotation_defaults,
          shape_defaults=shape_defaults,
      )
  
      # Left align title
      template.layout.title.x = 0.05
  
      # Increase grid width for 3d plots
      opts = dict(gridwidth=2, gridcolor=plotly_clrs["Rhino Light 1"])
      template.layout.scene.xaxis.update(opts)
      template.layout.scene.yaxis.update(opts)
      template.layout.scene.zaxis.update(opts)
  
      # Darken ternary
      opts = dict(
          linecolor=plotly_clrs["Rhino Medium 1"],
          gridcolor=plotly_clrs["Rhino Light 1"],
      )
      template.layout.ternary.aaxis.update(opts)
      template.layout.ternary.baxis.update(opts)
      template.layout.ternary.caxis.update(opts)
  
      # Increase width of cartesian zero lines
      template.layout.xaxis.zerolinewidth = 2
      template.layout.yaxis.zerolinewidth = 2
  
      # Mapbox light style
      template.layout.mapbox.style = "light"
  
      # Automargin for pie chart
      template.data.pie = [{"automargin": True}]
  
      # Set table header font color to white
      return template
  
file_path: plotly.py/packages/python/plotly/templategen/definitions.py
imports: from plotly.graph_objs.layout import Template
  from templategen.utils import initialize_template
  from .utils.colors import colors
  import colorcet
  import plotly.express
label_desc: Use image node_id 5 for calling a global function with example usage: plotly_white() and returns: template