8000 Changed xkcd example to show a the plot instead of saving an image. · ProfessorX737/matplotlib-cpp@12923d7 · GitHub
[go: up one dir, main page]

Skip to con 10000 tent

Commit 12923d7

Browse files
author
Benno Evers
committed
Changed xkcd example to show a the plot instead of saving an image.
1 parent 660b7f3 commit 12923d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/xkcd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ int main() {
1616
plt::xkcd();
1717
plt::plot(t, x);
1818
plt::title("AN ORDINARY SIN WAVE");
19-
plt::save("xkcd.png");
19+
plt::show();
2020
}
2121

0 commit comments

Comments
 (0)
0