main.py 文件源码

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

项目:house-price-map 作者: andyljones 项目源码 文件源码
def plot_price(smoothed_prices):
    plot_over_map(10**(smoothed_prices - 3), norm=LogNorm(1.5e2, 1e3))
    cb = plt.colorbar(fraction=0.03, ticks=sp.linspace(2e2, 1e3, 9), format=FormatStrFormatter(u'£%dk'))
    cb.set_label(u'price paid (£1000s)')    

    plt.title('2015 Average Price Paid')
    plt.gcf().set_size_inches(36, 36)
    plt.gcf().savefig(os.path.join(OUTPUT_PATH, 'price_paid.png'), bbox_inches='tight')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号