如何从Bokeh GMap图中删除边框?

时间:2016-05-22 04:03:10

标签: google-maps bokeh

任何时候我试图在Bokeh中绘制一张GMapPlot,我会在地图周围找到一个巨大的边框。这可以删除吗?我似乎无法找到这样做的选择。

这是我的意思的一个直观的例子:

enter image description here

MWE:

from bokeh.io import output_file, show
from bokeh.models import GMapPlot, GMapOptions, DataRange1d, ColumnDataSource, Circle, PanTool, HoverTool

map_options = GMapOptions(lat=40.7484, lng=-73.9857, map_type = "terrain", zoom=10)

GMap = GMapPlot(x_range = DataRange1d(), y_range = DataRange1d(), map_options = map_options , title = "Eneumerate",
            plot_width=800, plot_height=300)

1 个答案:

答案 0 :(得分:2)

我已将此确认为Bokeh问题中的错误:https://github.com/bokeh/bokeh/issues/4350

我还不确定原因 - 我最好的猜测是GoogleMaps API的变化。