Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jtenerelli017 opened this issue May 6, 2023 · 3 comments
Open

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

jtenerelli017 opened this issue May 6, 2023 · 3 comments

Comments

@jtenerelli017
Copy link

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?

@msimoni18
Copy link

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

@jtenerelli017
Copy link
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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants