✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

How to increase padding for hoverlabel in plotly javascript pie charts

I’m trying to increase the padding of the hoverlabel property for pie charts using below method but seems not working. Has anyone tried this use case or is there any other way to do it…

hoverlabel: {
                        bgcolor: 'white',
                        bordercolor: '#e7e7e7',
                        font: {
                            color: 'black',
                        padding: {
                            t: '20',
                            b: '50',
                            l: '0',
                            r: '0'
                        borderwidth: 2

At the moment there is no padding option available in hoverlabel. You may consider opening a feature request on plotly.js repo.