Commit 99222ba
committed
Fix dep-graph command: outdated import
The `--dep-graph` command uses `graphviz-python` (`import gv`) to convert a dot-graph into an image file. This library seems outdated. In pip it is now called `graphviz` and the API is slightly different. The docs already refer to it.
This commit fixes the import and the function that renders the graph image.1 parent a42e25b commit 99222ba
2 files changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 83 | + | |
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
| |||
244 | 237 | | |
245 | 238 | | |
246 | 239 | | |
247 | | - | |
| 240 | + | |
248 | 241 | | |
249 | 242 | | |
250 | 243 | | |
251 | | - | |
252 | | - | |
253 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
254 | 248 | | |
255 | 249 | | |
256 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments