Skip to content

Instantly share code, notes, and snippets.

@dpsanders
Created July 21, 2013 03:48
Show Gist options
  • 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