擅长:python、mysql、java
<p>从<a href="http://datashader.org/getting_started/1_Introduction.html" rel="nofollow noreferrer">datashader docs</a>开始</p>
<blockquote>
<p>datashader is designed to "rasterize" or "aggregate" datasets into regular grids that can be viewed as images, making it simple and quick to see the properties and patterns of your data. Datashader can plot a billion points in a second or so on a 16GB laptop, and scales up easily to out-of-core or distributed processing for even larger datasets.</p>
</blockquote>
<p>在这些库中没有任何技巧-渲染大量的点需要很长时间。datashader所做的是将可视化的负担从渲染转移到计算。在datashader中绘制指令之前,有一个很好的理由需要创建画布。datashader管道中的第一步是栅格化数据集,换句话说,它近似每一块数据的位置,然后使用聚合函数来确定每个像素的强度或颜色。这使得datashader可以绘制大量的点;甚至比内存中可以保存的点还要多。在</p>
<p>另一方面,Matplotlib会渲染您指示它绘制的每个点,这使得绘制大型数据集非常耗时甚至不可能。在</p>