我想在一些地图图块上绘制点的网格空间,以下是我这样做的尝试:
points = hv.Points((np.random.rand(10), np.random.rand(10)))
x = ['a', 'b']
y = [1, 2, 3]
map_tiles = gts.tile_sources['EsriOceanBase']
plots = {}
for i in x:
for j in y:
plots[i,j] = points * map_tiles
hv.GridSpace(plots)
但是会产生此错误:
AttributeError: unexpected attribute 'source' to TileRenderer, similar attributes are tile_source
:GridSpace [X,Y]
:Overlay
.Points.I :Points [x,y]
.WMTS.I :WMTS [Longitude,Latitude]
关于这里发生的事情有什么想法吗?