Commit d299ba99 authored by MERCIER Michael's avatar MERCIER Michael

[misc] small fixes on the demo

parent cb14d5b2
......@@ -48,7 +48,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%%bash\n",
......@@ -126,6 +128,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
......@@ -1053,7 +1056,7 @@
"\n",
"for i, policy in enumerate(policies):\n",
" visu.plot_gantt(js[policy], ax=axes[i][0], title=policy + \" -- gantt\")\n",
" visu.plot_job_details(js[policy].df, ax=axes[i][1], size=128, title=policy + \"-- details\")\n",
" visu.plot_job_details(js[policy].df, ax=axes[i][1], size=128, title=policy + \" -- details\")\n",
"\n",
"# Get max values of all graphs to set the x limit properly\n",
"[axe.set_xlim([0, max(max(js_easy.df.finish_time), max(js_fcfs.df.finish_time))]) for sublist in axes for axe in sublist]\n",
......@@ -1079,15 +1082,6 @@
"\n",
"With this notebook you have a full example of what can be achieve with Batsim and all it's ecosystem: Batsched for baseline policies comparison, Robin to help you run a lot of experiments, and of course Evalys that helps you to understand the outputs of your experiments."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
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