It seems like set function does not handle cvplot::Circle data properly.
std::vector<std::pair<float, cvplot::Point2>> pole({
std::pair<float, cvplot::Point2>(5.0f,{X(0),Y(0)}) // Expected usage of set with vector<pair<float, Point2>>
std::pair<float, cvplot::Point2>(X(0),{Y(0),5.0f}) // The code actually works.
});
figure.series("South Pole")
.type(cvplot::Circle)
.color(cvplot::Red)
.set( pole);
figure.show(false);