You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,6 @@ int main() {
26
26
A more comprehensive example:
27
27
```cpp
28
28
#include "matplotlibcpp.h"
29
-
#include <cmath>
30
-
31
29
namespace plt = matplotlibcpp;
32
30
33
31
int main()
@@ -67,9 +65,7 @@ int main()
67
65
68
66
Alternatively, matplotlib-cpp also supports some C++11-powered syntactic sugar:
69
67
```cpp
70
-
#include<cmath>
71
68
#include"matplotlibcpp.h"
72
-
73
69
usingnamespacestd;
74
70
namespaceplt = matplotlibcpp;
75
71
@@ -104,8 +100,6 @@ Or some *funny-looking xkcd-styled* example:
104
100
```cpp
105
101
#include "matplotlibcpp.h"
106
102
#include <vector>
107
-
#include <cmath>
108
-
109
103
namespace plt = matplotlibcpp;
110
104
111
105
int main() {
@@ -291,4 +285,4 @@ Todo/Issues/Wishlist
291
285
in "".'
292
286
293
287
* MacOS: `Unable to import matplotlib.pyplot`. Cause: In mac os image rendering back end of matplotlib (what-is-a-backend to render using the API of Cocoa by default). There is Qt4Agg and GTKAgg and as a back-end is not the default. Set the back end of macosx that is differ compare with other windows or linux os.
294
-
Solution is described [here](https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python?noredirect=1&lq=1), additional information can be found there too(see links in answers).
288
+
Solution is described [here](https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python?noredirect=1&lq=1), additional information can be found there too(see links in answers).
0 commit comments