code: def get_marker_style(line):
      
      style = {}
      style['alpha'] = line.get_alpha()
      if style['alpha'] is None:
          style['alpha'] = 1
  
      style['facecolor'] = color_to_hex(line.get_markerfacecolor())
      style['edgecolor'] = color_to_hex(line.get_markeredgecolor())
      style['edgewidth'] = line.get_markeredgewidth()
  
      style['marker'] = line.get_marker()
      markerstyle = MarkerStyle(line.get_marker())
      markersize = line.get_markersize()
      markertransform = (markerstyle.get_transform() +
                         Affine2D().scale(markersize, -markersize))
      style['markerpath'] = SVG_path(markerstyle.get_path(),
                                     markertransform)
      style['markersize'] = markersize
      style['zorder'] = line.get_zorder()
      return style
docs: Get the style dictionary for matplotlib marker objects