issue-tracking icon indicating copy to clipboard operation
issue-tracking copied to clipboard

[Feature request] Customize Plotly Mode Bar Icons

Open george-gca opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

I was trying to work around #482 then I found out that I can customize the way I can export the plot in Plotly. More specifically, I can customize the format that the download button will output. So I tried to do that.

Describe the solution you'd like

I would like to be able to do exactly that. I found out that there is a kwargs parameter handling when calling ui.display in the python panel sdk, but I could not make it work with the Plotly figure. I tried ui.display(go.Figure(figure), config=cfg), and also ui.display(go.Figure(figure), kwargs={"config": cfg}), but to no avail. I even tried to add the configure keys to the figure dictionary, when creating the figure dictionary as here.

Describe alternatives you've considered

#482

george-gca avatar Aug 02 '22 01:08 george-gca