调整图中虚线的大小

时间:2018-06-26 02:15:47

标签: plotly plotly-dash choropleth

我正在尝试使用图工厂制作的Dash中调整可打印图的大小。我知道如何更改正则图布局中的大小。按图绘制Obj,但这不适用于我的图工厂图。

我要调整大小的图形功能是:

current-file

好像我想要类似

fig_map = ff.create_choropleth(fips=df['x'].tolist(), 
   values=df['y'].tolist(), scope=[state],
   binning_endpoints=endpts,colorscale=DEFAULT_COLORSCALE,
   county_outline={'color': 'rgb(255,255,255)', 'width': 0.5}, 
   round_legend_values=True, legend_title='Population by County')
在此页面https://plot.ly/python/figure-factory-subplots/#plotlys-figure-factory-module

,但是尝试操作时在我的仪表板应用程序中出现错误。同样,这也不会更改大小:

fig_map.layout.update({'height':800}) 

任何建议都会很棒。

0 个答案:

没有答案
相关问题