graph.write_pdf(“iris.pdf”) AttributeError: 'list' object has no attribute 'write_pdf'

前端 未结 10 1789
深忆病人
深忆病人 2020-12-08 19:00

My code is follow the class of machine learning of google.The two code are same.I don\'t know why it show error.May be the type of variable is error.But google\'s code is sa

10条回答
  •  感情败类
    2020-12-08 19:16

    @Alex Sokolov, for my case in window, i downloaded and install / unzip the following to a folder then setup the PATH in Windows environment variables. re-run the py code works for me. hope is helpful to you.

提交回复
热议问题