Matplotlib: Difference between revisions

1,193 bytes removed ,  6 years ago
Very nice site!
 
Very nice site!
== Project setup ==
 
=== 1. Install the project dependencies ===
 
Installing matplotlib is unfortunately rather complicated on OSX and Windows. Please ask for help if you get stuck or don't know where to start!
 
First, install <code>numpy</code>. On Linux, you can use your package manager to install the <code>python-numpy</code> package. On Windows and OSX, you can download the appropriate binary from http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/.
 
Then, install <code>matplotlib</code>. On Linux, you can use your package manager to install the <code>python-matplotlib</code> package. On Windows and OSX, you can download the appropriate binary from https://github.com/matplotlib/matplotlib/downloads/.
 
If either of these installs fails, fear not! Wave over a staff member and we'll help.
 
=== 2. Download and un-archive the Matplotlib project skeleton code ===
 
* http://web.mit.edu/jesstess/www/IntermediatePythonWorkshop/Matplotlib.zip
 
Un-archiving will produce a <code>Matplotlib</code> folder containing several Python and text files.
 
=== 3. Test your setup ===
 
Run the <code>basic_plot.py</code> script in your <code>Matplotlib</code> directory. A window with a graph should pop up.
 
== Project steps ==
Anonymous user