Welcome to Seaborn-CPP, an attempt to create Seaborn as a C++ Library.
- Python
- Matplotlib
- Seaborn
- Pandas
TESTED ON PYTHON2.7 (For Versions Below Python3.2)
To Compile:
- g++ filename.cpp -I/usr/lib/python2.7/Python.h -lpython2.7.
- You can replace python2.7 with your installed version.
TESTED ON PYTHON3.6 (Python3.2+)
To Compile:
- Add Python3.x Lib folder path to Libraries.
- Add Python3.x Include folder path to C++ Includes.
- Add libpythonxy.a path to linker.
NOTE: Python3.8 has dropped libpython38.a file from the main distribution. The previous versions should contain a libpythonxy.a in /libs folder. Incase, libpython does not exist, it can be generated.
Steps to generate libpython:
- gendef python38.dll > tmp.def
- dlltool --dllname python38.dll --def tmp.def --output-lib libpython38.a