charts.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:poormining 作者: bowenpay 项目源码 文件源码
def myplot(x, y, nb=32, xsize=500, ysize=500):
    heatmap, xedges, yedges = np.histogram2d(x, y, bins=nb)
    extent = [xedges[0], xedges[-1], yedges[0], yedges[-1]]
    return heatmap.T, extent
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号