code: def orientation(self, val):
      self["orientation"] = val
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 18 for calling the Legend obj's underlying member method code with example usage: obj.orientation(val) without return types