Skip to content

Instantly share code, notes, and snippets.

@Dviejopomata
Created October 7, 2018 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dviejopomata/d6dfa8948f8700e4860e456a83a8363c to your computer and use it in GitHub Desktop.
Save Dviejopomata/d6dfa8948f8700e4860e456a83a8363c to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(100)
delta = np.random.uniform(-10, 10, size=(100,))
y = -.3 * x + 3 + delta
print(delta)
plt.plot(x, y)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment