matplotlib hide numbers on axis
#include <iostream>
#include <vector>
#include <matplotlibcpp.h>
namespace plt = matplotlibcpp;
int main() {
// Sample data
std::vector<double> x = {1, 2, 3, 4, 5};
std::vector<double> y = {2, 4, 6, 8, 10};
// Create a plot
plt::plot(x, y);
// Hide numbers on the x-axis
plt::xticks({});
// Hide numbers on the y-axis
plt::yticks({});
// Show the plot
plt::show();
return 0;
}