yufeiminds / echarts-python

Deprecated. Use PyEcharts instead. https://github.com/pyecharts/pyecharts
417 stars 167 forks source link

How to set the width #20

Open UpCoder opened 6 years ago

UpCoder commented 6 years ago

Hi, I am using the library, but i find the figure generated alway fit the screen, I want it become smaller. But I don't know the way. Please help me, thanks

UpCoder commented 6 years ago

Thanks, I have solved the problem. I try to set the width and height attribute of Echart. It works. chart = Echart('Loss', 'Here show the loss values', width=200, height=200) Hope the document can be better perfect in the future