matplotlib-cpp with 3D scatter plot is a quick hack code to add following two functions to matplotlib-cpp, which is one of the simplest C++ plotting libraries.
When saving a 3D scatter plot with a color bar using savefig (either plt.savefig or fig.savefig), the data point colors are incorrect on the saved image, however the inline image (I'm using jupyter ...