change plot line color in matplotlib

#include <stdio.h>
#include <matplotlib-cpp/matplotlibcpp.h>

namespace plt = matplotlibcpp;

int main() {
    plt::plot({1, 2, 3, 4});
    plt::show();
    plt::plot({2, 3, 4, 5}, "r"); // Change plot line color to red
    plt::show();
    return 0;
}