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
@@ -165,15 +177,15 @@ From [gallery/artist_animation/random_walk.cpp](https://github.com/soblin/matplo
165
177
166
178
### build
167
179
168
-
If you do not need to build the demos, use `-DADD_DEMO=0` (by default it is `1`).
180
+
If you want to build the demos, use `-DADD_DEMO=1` (by default it is `0`).
169
181
170
182
```bash
171
183
$ mkdir build; cd build
172
184
$ cmake .. -DADD_DEMO={0, 1} -DUSE_GUI={0, 1}
173
185
$ make -j
174
186
```
175
187
176
-
If you do not need to see the demo with `plt.show()`, use `-DUSE_GUI=0` (by default it is `1`). Otherwise the executables will `plt.savefig()` to `gallery/images` directory.
188
+
If you do not need to see the demo with `plt.show()`, use `-DUSE_GUI=1` (by default it is `0`). Otherwise the executables will `plt.savefig()` to `gallery/images` directory.
177
189
178
190
`make <gallery directory name>` runs all the executables under that directory.
0 commit comments