Is grid - rows not working?

in the layout of javascript plotly, there is a grid – rows (https://plot.ly/javascript/reference/#layout-grid-rows). However, when I set an integer, I got errors. Please see here, https://codepen.io/anon/pen/wjGZMB.

Besides, is it possible to customize the grid style, i.e. color, width, etc?

What are you trying to do exactly here?

Your graph has one x axis and one y axis, layout.grid isn’t going to help with anything.