fix: graph_attr example

`graphviz` only support string or byte-like objects as value in attributes. The example was passing `fontsize` as `int` that throws `TypeError`.

Just fixing the example
pull/73/head
Ricardo Bin 5 years ago
parent ae591b46bc
commit 21e6b8da3b

@ -83,7 +83,7 @@ from diagrams import Diagram
from diagrams.aws.compute import EC2
graph_attr = {
"fontsize": 45,
"fontsize": "45",
"bgcolor": "transparent"
}

Loading…
Cancel
Save