【发布时间】:2020-06-07 04:07:31
【问题描述】:
我有一个这样的海洋热图:
附源码:
temp_cmap = ["#0416FF", "#0094FF", "#00DAFF", "#006600", "#00A305", "#71E507", "#DBF400", "#FFD602",
"#FF9B0F", "#FF1E01"]
sns.heatmap(df_grid, annot=False, cmap=temp_cmap, ax=self.axes_surface, cbar_ax=self.cbar_ax_1,
vmin=min_data,
vmax=max_data
)
但我想像这样平滑这个情节:
我该怎么做?
【问题讨论】:
-
matplotlib 的
contourf在你的情况下似乎很有趣。 -
感谢 JohanC。我会对你的建议感兴趣。
-
那么,是什么阻止了你?没有文本格式的数据,没有一些最小的演示代码,很难推进。
标签: python-3.x matplotlib seaborn smoothing pylot