plotly/react-plotly.js

Attribute "boxgroupgap" unrecognized by react-plotly.js

jtenerelli017 opened this issue · 3 comments

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?

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

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.

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