AI开发平台ModelArts-饼形图:样例

时间:2023-11-01 16:20:20

样例

inputs = {    "dataframe": None  # @input {"label":"dataframe","type":"DataFrame"}}params = {    "inputs": inputs,    "select_column_name": "",  # @param {"label":"select_column_name","type":"string","required":"true","helpTip":""}    "numeric_intervals_str": "",  # @param {"label":"numeric_intervals_str","type":"string","required":"false","helpTip":""}    "numeric_interval_length": "",  # @param {"label":"numeric_interval_length","type":"string","required":"false","helpTip":""}    "show_share_number": 5,  # @param {"label":"show_share_number","type":"integer","required":"false","range":"(0,2147483647]","helpTip":""}    "figure_length": "",  # @param {"label":"figure_length","type":"integer","required":"false","range":"(0,2147483647]","helpTip":""}    "figure_width": ""  # @param {"label":"figure_width","type":"integer","required":"false","range":"(0,2147483647]","helpTip":""}}plot_pie____id___ = MLSPlotPie(**params)plot_pie____id___.run()
support.huaweicloud.com/devtool-modelarts/devtool-modelarts_0064.html