Skip to content

Commit 4eb18ab

Browse files
Update README.md
1 parent 9f5cc9a commit 4eb18ab

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

documentation/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ The `error bar` object includes extra lines to represent error around data point
291291
The `filled area` object creates a polygon filling the area between the $x$ axis and each line. Each of these plots can be created by
292292
293293
```cpp
294-
vector<vector<int>> Y = {{1, 3, 4, 0}, {2, 5, 4, 7}, {6, 4, 5, 3}};
294+
vector<vector<int>> Y = { {1, 3, 4, 0}, {2, 5, 4, 7}, {6, 4, 5, 3} };
295295
area(Y, -4, stacked);
296296
```
297297

@@ -467,7 +467,7 @@ In an abstract graph, the vertices have no specific position in space. Mathemati
467467
The implementation of the Kamada Kawai and Fruchterman-Reingold algorithms depend on the NodeSoup library. The next Figure exemplifies the Undirected Graph generated by
468468

469469
```cpp
470-
vector<pair<size_t, size_t>> edges = {{0, 1},
470+
vector<pair<size_t, size_t>> edges ={ {0, 1},
471471
{0, 2},
472472
{1, 2},
473473
{1, 4},
@@ -479,7 +479,7 @@ vector<pair<size_t, size_t>> edges = {{0, 1},
479479
{8, 9},
480480
{7, 9},
481481
{8, 7},
482-
{9, 10}};
482+
{9, 10} };
483483
vector<double> weights = {4,4,2,1,1,4,2,1,3,3,2,4,1};
484484
graph(edges)->edge_labels(weights);
485485
```
@@ -663,7 +663,8 @@ Any object that has the functions `begin` and `end` are considered iterable rang
663663
These conversions also work on ranges of ranges:
664664
665665
```cpp
666-
vector<set<int>> Y = {{6,3,8,2,5},{6,3,5,8,2}};
666+
vector<set<int>> Y = { {6, 3, 8, 2, 5}, {6, 3, 5, 8, 2}
667+
};
667668
plot(Y);
668669
```
669670

@@ -1137,4 +1138,4 @@ The paper presented **Matplot++**, an alternative for data visualization in C++.
11371138

11381139
* Zaitsev S (2020). Webview. URL: [https://github.com/zserge/webview](https://github.com/zserge/webview).
11391140

1140-
* Zakai A (2011). "Emscripten: an LLVM-to-JavaScript compiler." In Proceedings of the ACM international conference companion on Object oriented programming systems languages and applications companion, pp. 301-312.
1141+
* Zakai A (2011). "Emscripten: an LLVM-to-JavaScript compiler." In Proceedings of the ACM international conference companion on Object oriented programming systems languages and applications companion, pp. 301-312.

0 commit comments

Comments
 (0)