feat(show when ready): Show plots when doccument is ready.
This commit is contained in:
parent
703d40c46c
commit
46b051060c
3 changed files with 3 additions and 3 deletions
|
|
@ -131,4 +131,4 @@ def pybokeh(nation):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
port = int(os.environ.get("PORT", 5000))
|
port = int(os.environ.get("PORT", 5000))
|
||||||
app.run(debug=True, host='0.0.0.0', port=port)
|
app.run(host='0.0.0.0', port=port)
|
||||||
|
|
@ -11,9 +11,9 @@ console.log('updated div/scripts')
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log('updated div/scripts')
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$( document ).ready(updateChart)
|
||||||
$('#update').on('click', updateChart)
|
$('#update').on('click', updateChart)
|
||||||
$('#nation').on('change', updateChart)
|
$('#nation').on('change', updateChart)
|
||||||
|
|
@ -7,5 +7,5 @@ function updateChartSrc(){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$( document ).ready(updateChartSrc)
|
||||||
$("#nation").on('change', updateChartSrc);
|
$("#nation").on('change', updateChartSrc);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue