__init__.py 文件源码

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

项目:geoplot 作者: rl-institut 项目源码 文件源码
def create_basemap(self, projection='merc'):
        """Creates a very basic basemap: 'bbox': (x1, x2, y1, y2)

        If you want to use the power of basemap you can write your own basemap
        and pass it to you object
        """
        bm = Basemap(
            llcrnrlat=self.bbox[2], urcrnrlat=self.bbox[3],
            llcrnrlon=self.bbox[0], urcrnrlon=self.bbox[1],
            projection=projection)
        bm.drawcoastlines(linewidth=0)
        return bm
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号