Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values not showed and chart not centered when saving pie chart as jpg #409

Open
BrianDelalex opened this issue Jun 24, 2024 · 0 comments
Open

Comments

@BrianDelalex
Copy link

I'm trying to save a pie chart into a jpg file.
Using the code below :

using namespace matplot;
std::vector<double> x = { 1, 3, 0.5, 2.5, 2 };
pie(x);

save("test.jpg");
return 0;

The problems are that in the saved image the values aren't showed and that the chart isn't centered in the image (image linked below).
test

Environment Details:

  • OS: Windows 11 Pro
  • OS Version: 23H2 Build 22631.3737
  • Compiler: MSVC
  • Compiler version: 17.6.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant