docstr: Sets the icon text font (color=mapbox.layer.paint.text-color,
  size=mapbox.layer.layout.text-size). Has an effect only when
  `type` is set to "symbol".
  
  The 'textfont' property is an instance of Textfont
  that may be specified as:
    - An instance of :class:`plotly.graph_objs.layout.mapbox.layer.symbol.Textfont`
    - A dict of string/value properties that will be passed
      to the Textfont constructor
  
      Supported dict properties:
  
          color
  
          family
              HTML font family - the typeface that will be
              applied by the web browser. The web browser
              will only be able to apply a font if it is
              available on the system which it operates.
              Provide multiple font families, separated by
              commas, to indicate the preference in which to
              apply fonts if they aren't available on the
              system. The Chart Studio Cloud (at
              https://chart-studio.plotly.com or on-premise)
              generates images on a server, where only a
              select number of fonts are installed and
              supported. These include "Arial", "Balto",
              "Courier New", "Droid Sans",, "Droid Serif",
              "Droid Sans Mono", "Gravitas One", "Old
              Standard TT", "Open Sans", "Overpass", "PT Sans
              Narrow", "Raleway", "Times New Roman".
          size
  
  Returns
  -------
  plotly.graph_objs.layout.mapbox.layer.symbol.Textfont
docstr_tok: ["Sets","the","icon","text","font","(","color=mapbox.layer.paint.text-color",",","size=mapbox.layer.layout.text-size",")",".","Has","an","effect","only","when","`","type","`","is","set","to","``","symbol","''",".","The","'textfont","'","property","is","an","instance","of","Textfont","that","may","be","specified","as",":","-","An","instance","of",":","class",":","`","plotly.graph_objs.layout.mapbox.layer.symbol.Textfont","`","-","A","dict","of","string\/value","properties","that","will","be","passed","to","the","Textfont","constructor","Supported","dict","properties",":","color","family","HTML","font","family","-","the","typeface","that","will","be","applied","by","the","web","browser",".","The","web","browser","will","only","be","able","to","apply","a","font","if","it","is","available","on","the","system","which","it","operates",".","Provide","multiple","font","families",",","separated","by","commas",",","to","indicate","the","preference","in","which","to","apply","fonts","if","they","are","n't","available","on","the","system",".","The","Chart","Studio","Cloud","(","at","https",":","\/\/chart-studio.plotly.com","or","on-premise",")","generates","images","on","a","server",",","where","only","a","select","number","of","fonts","are","installed","and","supported",".","These","include","``","Arial","''",",","``","Balto","''",",","``","Courier","New","''",",","``","Droid","Sans","''",",",",","``","Droid","Serif","''",",","``","Droid","Sans","Mono","''",",","``","Gravitas","One","''",",","``","Old","Standard","TT","''",",","``","Open","Sans","''",",","``","Overpass","''",",","``","PT","Sans","Narrow","''",",","``","Raleway","''",",","``","Times","New","Roman","''",".","size","Returns","--","--","--","-","plotly.graph_objs.layout.mapbox.layer.symbol.Textfont"]
code: def textfont(self):
      """
      Sets the icon text font (color=mapbox.layer.paint.text-color,
      size=mapbox.layer.layout.text-size). Has an effect only when
      `type` is set to "symbol".
  
      The 'textfont' property is an instance of Textfont
      that may be specified as:
        - An instance of :class:`plotly.graph_objs.layout.mapbox.layer.symbol.Textfont`
        - A dict of string/value properties that will be passed
          to the Textfont constructor
  
          Supported dict properties:
  
              color
  
              family
                  HTML font family - the typeface that will be
                  applied by the web browser. The web browser
                  will only be able to apply a font if it is
                  available on the system which it operates.
                  Provide multiple font families, separated by
                  commas, to indicate the preference in which to
                  apply fonts if they aren't available on the
                  system. The Chart Studio Cloud (at
                  https://chart-studio.plotly.com or on-premise)
                  generates images on a server, where only a
                  select number of fonts are installed and
                  supported. These include "Arial", "Balto",
                  "Courier New", "Droid Sans",, "Droid Serif",
                  "Droid Sans Mono", "Gravitas One", "Old
                  Standard TT", "Open Sans", "Overpass", "PT Sans
                  Narrow", "Raleway", "Times New Roman".
              size
  
      Returns
      -------
      plotly.graph_objs.layout.mapbox.layer.symbol.Textfont
      """
      return self["textfont"]
  
file_path: plotly.py/packages/python/plotly/plotly/graph_objs/layout/mapbox/layer/_symbol.py
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 9 for calling the Symbol obj's underlying member method code with example usage: obj.textfont() and returns: self