Skip to content
  • Sponsor plotly/react-plotly.js

  • Notifications You must be signed in to change notification settings
  • Fork 137

Attribute "boxgroupgap" unrecognized by react-plotly.js #320

Open
@jtenerelli017

Description

@jtenerelli017

I am attempting to use the attribute "boxgroupgap" from the plotly.js library, with the parent "layout", so that boxplot elements grouped together are thicker and thus more visible. However, it appears react-plotly.js doesn't recognize the line of code when I try to implement it.
image
Here it says at the bottom that "boxgroupgap" is not a part of Partial. I've actually encountered this issue before, with a lot of attributes carrying over from the main plotly.js library but some simply don't work. Is "boxgroupgap" simply not a part of the react version of plotly.js?

Activity

msimoni18

msimoni18 commented on May 7, 2023

@msimoni18

Your syntax is incorrect. You are missing }} at the end of the line.

jtenerelli017

jtenerelli017 commented on May 7, 2023

@jtenerelli017
Author

Your syntax is incorrect. You are missing }} at the end of the line.

Here is a screenshot of the full file for context.
image
As you can see, there is already a '}}' on line 52. If you meant to say add '}}' to line 16, then that results in a syntax error. If you meant another line, please let me know.

msimoni18

msimoni18 commented on May 7, 2023

@msimoni18

Ah sorry I missed that. Looks like you need a comma at the end of line 52.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Attribute "boxgroupgap" unrecognized by react-plotly.js · Issue #320 · plotly/react-plotly.js