lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.28k stars 1.12k forks source link

numpy on windows #272

Open RPeschke opened 3 years ago

RPeschke commented 3 years ago

Hi thanks for the great library.

I had a bit of a trouble finding the numpy installation on my machine maybe it would be a good give some guidance on how to find the library

I found this site which was very useful

http://notesbyanerd.com/2018/11/02/pip-install-cant-find-numpy-header/

in short you open a python session and just ask the library where it is installed:

import numpy as np np.get_include() '/Users/Salim/Library/Python/3.7/lib/python/site-packages/numpy/core/include'

a one liner like this in the readme might be helpful.

again thanks for the great work!