I try to run this example for decision tree learning, but get the following error message:
File \"coco.py\", line 18, in graph.write_pdf(\"iris.pdf
Worked for me on Ubuntu 18.04 as well:
$ sudo apt-get install graphviz