Skip to content

Unable to render charts on JupyterLab #10

@mrkn

Description

@mrkn

rbplotly cannot render charts on JupyterLab even if jupyterlab/plotly-extension is installed.

The following message has been displayed on console:

[E 15:52:34.774 LabApp] Notebook JSON is invalid: Additional properties are not allowed ('source' was unexpected)

    Failed validating 'additionalProperties' in display_data:

    On instance['cells'][12]['outputs'][0]:
    {'data': {'text/html': '\n'
                           '  <script>\n'
                           "  requirejs.config({paths: { 'plotly': "
                           "['https://cdn...",
              'text/plain': '#<Plotly::Offline::HTML:0x00000000041ed710 '
                            '@id="a674fc2e-6241-48...'},
     'metadata': {},
     'output_type': 'display_data',
     'source': 'ruby'}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions