First time here? Check out the FAQ!
answered 2020-03-31 16:08:59 +0200
Try
show(list_plot([(x,x*2) for x in range(-2,3)]), figsize=3)
If you don't specify the abcissae, it is assumed that they are 0, 1, 2, 3...