gpt4 book ai didi

python - 是否可以在 python 中使用 ALTAIR 4.1 制作等高线图?

转载 作者:行者123 更新时间:2023-12-01 23:56:46 25 4
gpt4 key购买 nike

我想知道是否有一种方法可以在 altair 中绘制等高线图。

Matplotlib 具有用于等高线图的 API,如所展示的那样 here

Altair 中没有专门用于轮廓的 API documentation但我想也许我们可以使用语法来创建一个?

最佳答案

Altair 不支持等高线图,因为它们在 Vega-Lite 中不受支持。在 Vega-Lite 中跟踪轮廓支持的问题可以在这里找到:https://github.com/vega/vega-lite/issues/1919

关于python - 是否可以在 python 中使用 ALTAIR 4.1 制作等高线图?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62665821/

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