PhantomJS is deprecated, is there an alternative for saving images as png?

Hello there,

Since PhantomJS is deprecated (https://github.com/ariya/phantomjs/issues/15314) and export_png depends on Selenium and PhantomJS, I assume that export_png is currently not supported too.

Is there an alternative to export images to png (that does not require manual clicks)?

Thanks!

Hi,

PhantomJS is deprecated because the (sole) author decided to stop development on it. However, it's not broken, it works perfectly fine for Bokeh's needs, there is no particular reason no to use it, as long as you have a selenium version installed that supports still supports it.

The export_png can accept other selenium web driver objects, but there has not yet been thorough development of this possibility. Last I checked, e.g. using the Chrome web driver had issues with HiDPI ("retina") displays detecting the proper pixel scaling. But maybe things have changed. You might help out by trying it out (or the Firefox web driver) and reporting back.

Thanks,

Bryan

ยทยทยท

On Jun 25, 2018, at 09:59, mmargaret via Bokeh Discussion - Public <[email protected]> wrote:

Hello there,

Since PhantomJS is deprecated (https://github.com/ariya/phantomjs/issues/15314) and export_png depends on Selenium and PhantomJS, I assume that export_png is currently not supported too.

Is there an alternative to export images to png (that does not require manual clicks)?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1ac1fb89-90a2-4927-b338-e14f072912ca%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.