spotify / chartify

Python library that makes it easy for data scientists to create charts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PNG output is fuzzy

cphalpert opened this issue · comments

PNGs don't look as good as SVG or HTML output.

PNG:
image

HTML:
image

This sounds fun. I would like to work on this. can you please guide me with any available documentation?

@hrs2203 your help would be appreciated!

The png conversion happens in this function: https://github.com/spotify/chartify/blob/master/chartify/_core/chart.py#L448

It is loosely based on this function in Bokeh, but is adapted to use chromedriver instead of phantomjs
https://github.com/bokeh/bokeh/blob/master/bokeh/io/export.py#L169