rbplotly icon indicating copy to clipboard operation
rbplotly copied to clipboard

Unable to render charts on JupyterLab

Open mrkn opened this issue 6 years ago • 1 comments

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'}

mrkn avatar Mar 26 '18 15:03 mrkn

add link https://github.com/SciRuby/iruby/issues/154

kojix2 avatar Feb 19 '19 07:02 kojix2