a guest Jun 20th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ValueError:
  2.     Invalid element(s) received for the 'frames' property of
  3.         Invalid elements include: [Frame({
  4.     'data': [{'name': 'u', 'type': 'bar', 'x': ['A', 'B'], 'y': [0, 1]},
  5.              {'name': 'h', 'type': 'bar', 'x': ['A', 'B'], 'y': [0, 1]},
  6.              {'name': 'd', 'type': 'bar', 'x': ['A', 'B'], 'y': [0, 1]},
  7.              {'name': 'g', 'type': 'bar', 'x': ['A', 'B'], 'y': [0, 1]}],
  8.     'name': '0',
  9.     'traces': [0]
  10. })]
  12.     The 'frames' property is a tuple of instances of
  13.     Frame that may be specified as:
  14.       - A list or tuple of instances of plotly.graph_objs.Frame
  15.       - A list or tuple of dicts of string/value properties that
  16.         will be passed to the Frame constructor
  18.         Supported dict properties:
  20.             baseframe
  21.                 The name of the frame into which this frame's
  22.                 properties are merged before applying. This is
  23.                 used to unify properties and avoid needing to
  24.                 specify the same values for the same properties
  25.                 in multiple frames.
  26.             data
  27.                 A list of traces this frame modifies. The
  28.                 format is identical to the normal trace
  29.                 definition.
  30.             group
  31.                 An identifier that specifies the group to which
  32.                 the frame belongs, used by animate to select a
  33.                 subset of frames.
  34.             layout
  35.                 Layout properties which this frame modifies.
  36.                 The format is identical to the normal layout
  37.                 definition.
  38.             name
  39.                 A label by which to identify the frame
  40.             traces
  41.                 A list of trace indices that identify the
  42.                 respective traces in the data attribute
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand