Differences

This shows you the differences between two versions of the page.

Link to this comparison view

installation_matplotlib [2017/03/30 14:48] (current)
y.audouin created
Line 1: Line 1:
 +====== Installation of Matplotlib on Linux ======
  
 +===== Check if it is already installed =====
 +
 +Type in a terminal:
 +<box round>
 +python
 +</​box>​
 +Then in the Python environment type:
 +<box round>
 +''​import matplotlib''​
 +</​box>​
 +If numpy is not installed you should get the following error:
 +<box round>
 +''​Traceback (most recent call last):''​\\
 +''​File "<​stdin>",​ line 1, in <​module>''​\\
 +''​ImportError:​ No module named matplotlib''​\\
 +</​box>​
 +===== Installation =====
 +
 +Type in a terminal:
 +<box round>
 +''​sudo apt-get install python-matplotlib''​
 +</​box>​