Skip to content

RuntimeError: stdlib.Generators.observe is not a function #213

Closed
@jamwalla

Description

@jamwalla

Describe the bug
When embedding cells using the Runtime library, following the example for custom fluid width, the redefined width causes a RuntimeError: stdlib.Generators.observe is not a function which is displayed on the embedded page instead of the chart.

To Reproduce
Steps to reproduce the behavior:

  1. See https://www.vera.org/covid-19/criminal-justice-city-and-state-spotlights/michigan
  2. Scroll to just below "Select a county" and see error:
chart = RuntimeError: stdlib.Generators.observe is not a function
update = RuntimeError: stdlib.Generators.observe is not a function
  1. See https://www.vera.org/code/michigan-jail-population-and-covid.js for the redefined width

Expected behavior
chart cell inherits parent width and resizes with the window.

Screenshots
Screen Shot 2021-05-25 at 11 56 59 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions