lets-plot icon indicating copy to clipboard operation
lets-plot copied to clipboard

Native support for PNG exports

Open concimuscb opened this issue 1 year ago • 1 comments

For Windows users, you have to install GTK in order to be able to export charts to PNG.

Since this cannot be reflected in requirement files it adds a layer of complexity when onboarding new team members.

AFAIK nearly all other libraries support PNG exports natively (read, you simply pip install whateverplottinglibrary and PNG exports will work).

Are there any plans to support this in the future?

concimuscb avatar Dec 18 '24 11:12 concimuscb

Hi, the GTK dependency is one of several reasons why we're planning to move away from CairoSVG for PNG/PDF exporting. We'll begin working on this after the holidays.

alshan avatar Dec 27 '24 21:12 alshan

Hi @concimuscb , could you try v4.7.0?

PNG/PDF export was completely reworked and the CairoSVG dependency has been dropped. The new implementation is based on ImageMagick, which is bundled in the Lets-Plot binaries.

alshan avatar Jul 17 '25 18:07 alshan