Horizontal boxplot with precomputed values

I know there is a way to pass precomputed values and get a boxplot:

Plotly.newPlot('myDiv', [{
                                type: 'box',
                                name: '',
                                q1: [ 3 ],
                                median: [ 4 ],
                                q3: [ 5 ],
                            }], {
                                yaxis: {
                                    range: [0, 5]
                                }
                            });

But now I also need to display it horizontally. I couldn’t find how to do that.

You can add orientation: "h"