I use Ipython Notebook on Mac OS 10.11.2. I run Python 3.5.1 and Matplotlib 1.5.1 and Seaborn version 0.6.0: %matplotlib inline import matplotlib.pyplot as plt import seaborn as sns I recently started having issues when plotting using Matplotlib/Seaborn. After generating a few plots within the same notebook, the notebook cell where my latest plot is being generated crashes with the error: OSError:
![Python OSError: [Errno 24] Too many open files](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)