Skip to content

Instantly share code, notes, and snippets.

@dpsanders
Created July 21, 2013 03:48
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 dpsanders/6047387 to your computer and use it in GitHub Desktop.
Save dpsanders/6047387 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
# <nbformat>3.0</nbformat>
# <codecell>
%matplotlib inline
%load_ext retina
# <codecell>
import matplotlib as mpl
import numpy as np
from matplotlib import pyplot as plt
# <codecell>
x = np.arange(-5, 5, 0.01)
y = x*x
plt.plot(x, y)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment