Skip to content

Support passing plotlyjs argument from kaleido.* into PageGenerator constructor #335

Closed
@emilykl

Description

@emilykl

Currently, passing plotlyjs into the Kaleido constructor results in the following error:

  File "/Users/ekl/code/plotly.py/venv/plotly.py/lib/python3.12/site-packages/choreographer/browsers/chromium.py", line 161, in __init__
    raise RuntimeError(
RuntimeError: Chromium.get_cli() received invalid args: dict_keys(['plotlyjs'])

We should handle it the same way mathjax is handled.

This is required to address plotly/plotly.py#5206.

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