chartify icon indicating copy to clipboard operation
chartify copied to clipboard

PNG output is fuzzy

Open cphalpert opened this issue 7 years ago • 2 comments

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

PNG: image

HTML: image

cphalpert avatar Nov 22 '18 16:11 cphalpert

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

hrs2203 avatar Feb 12 '20 06:02 hrs2203

@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

cphalpert avatar Feb 12 '20 15:02 cphalpert