@dormouse Are you getting any error?  i am able to run it locally on my jupyter notebook and see the images plotted. There are no Syntax error in the code too.
Did you run the rest of the code ? :
# get some random training images
dataiter = iter(trainloader)
images, labels = dataiter.next()

# show images 
imshow(torchvision.utils.make_grid(images)) # <------ Here is where plot is called
# print labels
print(' '.join('%5s' % classes[labels[j]] for j in range(4)))

Can you provide more information so that i could help you?
~Gokkul