Skip to content

Commit 9954890

Browse files
comaliceAlbert Latham
and
Albert Latham
authored
docs: mention pydot resolution settings (#514)
* docs: mention pydot resolution settings --------- Co-authored-by: Albert Latham <[email protected]>
1 parent 4449a9c commit 9954890

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/diagram.md

+12
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ As this one:
5959
![OrderControl](images/order_control_machine_initial.png)
6060

6161

62+
If you find the resolution of the image lacking, you can
63+
64+
```py
65+
>>> dot.set_dpi(300)
66+
67+
>>> dot.write_png("docs/images/order_control_machine_initial_300dpi.png")
68+
69+
```
70+
71+
![OrderControl](images/order_control_machine_initial_300dpi.png)
72+
73+
6274
The current {ref}`state` is also highlighted:
6375

6476
``` py
Loading

0 commit comments

Comments
 (0)