Commit f9095113 authored by Marc Gouw's avatar Marc Gouw

Add width to Bokeb plots to prevent overflow.

parent f804f357
......@@ -1162,7 +1162,7 @@
" 'Y': [1,2,1,2,1,2,1,2,3,1,2,3,3,3,2,1],\n",
" 'S': ['A','A','A','A','A','A','A','A','B','B','B','B','B','B','B','B']}\n",
"print(data2)\n",
"mySecondPlot = Scatter(data2, x='X', y='Y', color='S', legend='top_right')\n",
"mySecondPlot = Scatter(data2, x='X', y='Y', color='S', legend='top_right', width=200)\n",
"layout = Row(myFirstPlot, mySecondPlot)\n",
"show(layout)"
]
......
......@@ -173,7 +173,7 @@
" data['taxa'] = taxa\n",
" for taxon in taxa:\n",
" data[site].append(sites[site][taxon])\n",
" plot = Bar(data, 'taxa', values=site, color='taxa', title=site, xlabel='taxon', ylabel='abundance', tools='')\n",
" plot = Bar(data, 'taxa', values=site, color='taxa', title=site, xlabel='taxon', ylabel='abundance', tools='',width=400)\n",
" plots.append(plot)"
]
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment