code: def linetype_plotly_to_gg(plotly_linetype):
      linetype_dict = {
          "solid": "solid",
          "dashed": "dash",
          "dotted": "dot",
          "longdash": "longdash",
          "dotdash": "dashdot",
      }
      return linetype_dict[plotly_linetype]
  
file_path: hail/hail/python/hail/ggplot/utils.py
imports: import plotly
  import hail
label_desc: Use image node_id 10 for calling a global function with example usage: linetype_plotly_to_gg(plotly_linetype) and returns: linetype_dict