Python 当鼠标悬停下拉按钮时,可打印更改字体和背景色
有没有办法将自定义CSS添加到绘图下拉按钮? 我有以下几点:Python 当鼠标悬停下拉按钮时,可打印更改字体和背景色,python,html,css,plotly,Python,Html,Css,Plotly,有没有办法将自定义CSS添加到绘图下拉按钮? 我有以下几点: ... updatemenus=[ dict(buttons=[ dict( args=["type", "bar"], label="Bar Chart", method="restyle", ), dict( args=["type", "scat
...
updatemenus=[
dict(buttons=[
dict(
args=["type", "bar"],
label="Bar Chart",
method="restyle",
),
dict(
args=["type", "scatter"],
label="Line Chart",
method="restyle",
)
]
, direction="down"),
...
但是,当使用主题为“阴暗”的人物时,这就是他们在悬停时的样子:
我看到了颜色、边框颜色、边框宽度。。。但是没有关于悬停样式的内容。
有人能让它工作吗
谢谢你也在寻找答案。看起来这些按钮仅为默认/白色背景设计