stretch_both sizing mode in tasks/
@@ -808,11 +808,12 @@ def events_doc(scheduler, doc):
def tasks_doc(scheduler, doc):
with log_errors():
- ts = TaskStream(scheduler, n_rectangles=100000, clear_interval=60000)
+ ts = TaskStream(scheduler, n_rectangles=100000, clear_interval=60000,
+ sizing_mode='stretch_both')
ts.update()
doc.add_periodic_callback(ts.update, 5000)
doc.title = "Dask Task Stream"
- doc.add_root(column(ts.root, sizing_mode='scale_width'))
+ doc.add_root(ts.root)
doc.template = template
