Altair交互式图表不显示任何内容-python3

时间:2020-05-07 04:22:40

标签: python pandas numpy visual-studio-code altair

我正在尝试运行示例:Multi-Line Tooltip,并且运行良好,没有错误,但是没有显示任何内容,它必须给我提供交互式绘图。我正在使用在Visual Studio Code中与anaconda3一起安装的Python 3.8.0,并且已经安装了所有dependencies and additional dependencies。 Mi OS是W10。

client = commands.Bot(command_prefix = '!')
channel = client.get_channel(707110628254285835)

@client.event
async def on_ready():
 print ("bot online")


@client.command()
async def submit(message):
 embed = discord.Embed(
    title = message.message.author,
    description = message.message.content,
    colour = discord.Colour.dark_purple()
 )
 channel = client.get_channel(707110628254285835)
 await channel.send(embed=embed)





client.run('TOKEN')

0 个答案:

没有答案