make x/y of length 0 or 1 generate correct bricks [fixes #605]
make x/y of length 0 or 1 generate correct bricks [fixes #605]

iongroup/plotly.js,iongroup/plotly.js,etpinard/plotly.js,iongroup/plotly.js,asolagmbh/plotly.js,plotly/plotly.js,etpinard/plotly.js,asolagmbh/plotly.js,plotly/plotly.js,aburato/plotly.js,plotly/plotly.js,asolagmbh/plotly.js,etpinard/plotly.js,aburato/plotly.js,plotly/plotly.js