docstr: Sets the fill ratio of the `caps`. The default fill value of
  the `caps` is 1 meaning that they are entirely shaded. On the
  other hand Applying a `fill` ratio less than one would allow
  the creation of openings parallel to the edges.
  
  The 'fill' property is a number and may be specified as:
    - An int or float in the interval [0, 1]
  
  Returns
  -------
  int|float
code: def fill(self):
      """
      Sets the fill ratio of the `caps`. The default fill value of
      the `caps` is 1 meaning that they are entirely shaded. On the
      other hand Applying a `fill` ratio less than one would allow
      the creation of openings parallel to the edges.
  
      The 'fill' property is a number and may be specified as:
        - An int or float in the interval [0, 1]
  
      Returns
      -------
      int|float
      """
      return self["fill"]
  
file_path: catboost/contrib/python/plotly/py3/plotly/graph_objs/volume/caps/_x.py
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 1 for calling the X obj's underlying member method code with example usage: obj.fill() and returns: self