Segmentation 11 error when using matplotlib to plot

When I run very simple python script code (shown below), 11 segmentation error occurs.

import matplotlib.pyplot as plt plt.plot([1,2,3,4]) 

This is pretty weird. I am running this code in a mac terminal. Python from Enthought canopy_64bit, version 2.7. The version of matplotlib is 1.5.0. OX System - OS X Yosemite 10.10.5. Does anyone know why this is?

+5
source share

All Articles