Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import random
import numpy
from matplotlib import pyplot
rs = numpy.random.randn(1000)
xs = rs[1:-1] - rs[:-2]
ys = rs[2:] - rs[1:-1]
pyplot.scatter(xs, ys)
pyplot.show()
@erikbern

This comment has been minimized.

Copy link
Owner Author

@erikbern erikbern commented Sep 22, 2020

Plots this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.