Visdom.line in a window

How to draw the training and validation line in a window at the same time.
Thanks.

You can see an example here. Basically you just have to stack the values together.