plotly / react-plotly.js

A plotly.js React component from Plotly 📈
MIT License
1.01k stars 135 forks source link

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

Open jtenerelli017 opened 1 year ago

jtenerelli017 commented 1 year ago

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 commented 1 year ago

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

jtenerelli017 commented 1 year ago

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 commented 1 year ago

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