Matplotlibcpp.h: No such file or directory

I installed matplotlib for cpp in Ubuntu 16.04 but when I am including the matplotlibcpp.h in my code and then compiling it showing an error
command I am using for run my .cpp file is
g++ modern.cpp -std=c++11 -I/usr/include/python2.7 -lpython

Error showing:

matplotlibcpp.h: No such file or directory compilation terminated.

I am using sublime text editor for code. I dont know how to remove the error and make it to runnable.
I am working with gtk+ application and wants to integrate matplotlib library to plot the visual data in the gtk+ gui. but its the next part of my project but the main point is to how to make matplotlib runnable for cpp environment.

Note : if you know any cpp free graph plotting library and can be easily integrated please suggest me.

Have you tried to compile the hello world type examples provided by the library and are you sure it was compiled against 2.7 and not 3? The makefile defaults to using the system Python.