Skip to content

setup.py updateplotlyjs does not support repos other than plotly.py #2344

Closed
@zouhairm

Description

@zouhairm

I have a PR in plotly.js to add a feature for scattermapbox. Unfortunately the PR is taking a while to merge, and I'm looking for a way to use my fork in the meantime.

I've tried following the instructions on how to update to a new plotly.js, but unfortunately the setup script does not allow specifying a version that is not an official plotly release. I've tried posting a question in the community forums, but @nicolaskruchten suggested I post here instead.

I've created a branch in my plotly.py fork that changes setup.py to support a non-plotly remote#branch. I've tried using this, but I'm not sure it's enough as it's not clear how I tell plotly.py to use that version instead of plotly.js from a CDN ?

I'd love some help on making this possible. Happy to turn my branch into a PR and update the contributing documentation for others in the future.

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