[Python] How to add a config to a Plotly object in Py-Shiny?

Discussão em 'Python' iniciado por Stack, Junho 23, 2025.

  1. Stack

    Stack Membro Participativo

    In Py-Shiny (posit), how to add a config to a Plotly figure object as usually done by:

    fig.show(config={
    'modeBarButtonsToRemove': [
    'autoScale2d', 'select2d', 'lasso2d', 'pan2d', 'zoom2d', 'zoomOut2d',
    'hoverClosestCartesian', 'hoverCompareCartesian',
    'toggleSpikelines', 'sendDataToCloud', 'editInChartStudio'
    ],
    'displaylogo': False
    })


    As there is no show() command to be called, how to achieve this?
    Thanks.

    Continue reading...

Compartilhe esta Página