gpt4 book ai didi

How to properly define the hover template in Taipy GUI and how to remove the x-axis label?(如何在Taipy图形用户界面中正确定义悬停模板,以及如何去掉x轴标签?)

转载 作者:bug小助手 更新时间:2023-10-24 17:54:45 28 4
gpt4 key购买 nike



I would like to define the hover template in Taipy GUI like in plotly charts and I am also wondering about how to remove the x-axis label.

我想在Taipy图形用户界面中定义悬停模板,就像在曲线图中一样,我也想知道如何删除x轴标签。


For example:

例如:


import pandas as pd

from taipy.gui import Gui

data = pd.DataFrame({

"questions": ["a", "b", "c"],

"answer": [2, 4, 5],

})

page = "<|{data}|chart|mode=lines+markers|x=questions|y=answer|>"

gui = Gui(page)

gui.run()

更多回答
优秀答案推荐
更多回答

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com