Image Charts changelog
Image Charts changelog
image-charts.com

Official 🐍 Python library

Any pythonista out-there? The official Image-Charts Python library is there!

pip install image-charts
from ImageCharts import ImageCharts

pie = ImageCharts().cht('p').chd('a:2.5,5,8.3').chs('100x100')

pie.to_url()) # https://image-charts.com/chart?chd=a%3A2.5%2C5%2C8.3&chs=600x300&cht=p
pie.to_data_uri() # data:image/png;base64,iVBORw0KGgo...
pie.to_binary() # b'\x89PNG\r\n\x1a\n\x00\x00...