Black Lives Matter. Please consider donating to Black Girls Code today.

How to add a space in y axis labels and bar graph

Hi,

I am unable to add a gap between yaxislayer and bar graph. Is there a way I can add it?

My code is like:
var data = [{
type: ‘bar’,
x: [20, 14, 23],
y: [‘giraffes’, ‘orangutans’, ‘monkeys’],
orientation: ‘h’
}];

var layout = {
title: ‘Colored Bar Chart’,
barmode: ‘stack’
};

Plotly.newPlot(‘myDiv’, data, layout);

See I would like to move tick labels down