save figure to png with high resolution

Hi there,

I am trying to use bokeh for making publication quality figures. I can currently export the image to a png file with 600x600 resolution using the preview/save tool, but I need higher resolution images. Could I save image with higher resolution (or in vector graphics format )?

Thanks!

Jian

Hi Jian,

We have finally identified a promising technical way forward for implementing this long-requested feature. We are currently working to implement "headless" image generation so that you can create images and export them to SVG, PNG and other formats directly from python without ever having to interact with the browser. There are still some technical pieces to figure out, but our current best estimate is that this will be ready for the Bokeh 0.8 release, which is hopefully, tentatively scheduled for mid-February. You can follow the current progress in these issues:


In the mean time the only solutions I can offer are either create the plot initially at the resolution you want to save at, or add a resize tool to the plot and resize it to the size you want before saving.

Thanks,

Bryan

···

On Dec 29, 2014, at 9:51 PM, [email protected] wrote:

Hi there,

I am trying to use bokeh for making publication quality figures. I can currently export the image to a png file with 600x600 resolution using the preview/save tool, but I need higher resolution images. Could I save image with higher resolution (or in vector graphics format )?

Thanks!
Jian

--
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/81c7b201-9646-49c1-a92e-197bede85f04%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

wow I look forward to the new feature! I will use the workaround in the meanwhile. Thanks a lot!

Jian

在 2014年12月29日星期一UTC-5下午11时13分33秒,Bryan Van de ven写道:

···

Hi Jian,

We have finally identified a promising technical way forward for implementing this long-requested feature. We are currently working to implement “headless” image generation so that you can create images and export them to SVG, PNG and other formats directly from python without ever having to interact with the browser. There are still some technical pieces to figure out, but our current best estimate is that this will be ready for the Bokeh 0.8 release, which is hopefully, tentatively scheduled for mid-February. You can follow the current progress in these issues:

https://github.com/bokeh/bokeh/issues/538

https://github.com/bokeh/bokeh/issues/1589

In the mean time the only solutions I can offer are either create the plot initially at the resolution you want to save at, or add a resize tool to the plot and resize it to the size you want before saving.

Thanks,

Bryan

On Dec 29, 2014, at 9:51 PM, [email protected] wrote:

Hi there,

I am trying to use bokeh for making publication quality figures. I can currently export the image to a png file with 600x600 resolution using the preview/save tool, but I need higher resolution images. Could I save image with higher resolution (or in vector graphics format )?

Thanks!

Jian


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/81c7b201-9646-49c1-a92e-197bede85f04%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

does the save PNG picture feature is available in current 0.10 release ?
I did not found any docs on this

···

On Tuesday, December 30, 2014 at 12:23:57 PM UTC+8, [email protected] wrote:

wow I look forward to the new feature! I will use the workaround in the meanwhile. Thanks a lot!

Jian

Hi Jian,

We have finally identified a promising technical way forward for implementing this long-requested feature. We are currently working to implement “headless” image generation so that you can create images and export them to SVG, PNG and other formats directly from python without ever having to interact with the browser. There are still some technical pieces to figure out, but our current best estimate is that this will be ready for the Bokeh 0.8 release, which is hopefully, tentatively scheduled for mid-February. You can follow the current progress in these issues:

https://github.com/bokeh/bokeh/issues/538

https://github.com/bokeh/bokeh/issues/1589

In the mean time the only solutions I can offer are either create the plot initially at the resolution you want to save at, or add a resize tool to the plot and resize it to the size you want before saving.

Thanks,

Bryan

On Dec 29, 2014, at 9:51 PM, [email protected] wrote:

Hi there,

I am trying to use bokeh for making publication quality figures. I can currently export the image to a png file with 600x600 resolution using the preview/save tool, but I need higher resolution images. Could I save image with higher resolution (or in vector graphics format )?

Thanks!

Jian


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/81c7b201-9646-49c1-a92e-197bede85f04%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

在 2014年12月29日星期一UTC-5下午11时13分33秒,Bryan Van de ven写道:

No, it is still under investigation/development. There is a preliminary PR open that may lead to some capabilities in the near future.

Bryan

···

On Nov 9, 2015, at 8:04 AM, [email protected] wrote:

does the save PNG picture feature is available in current 0.10 release ?
I did not found any docs on this

On Tuesday, December 30, 2014 at 12:23:57 PM UTC+8, [email protected] wrote:
wow I look forward to the new feature! I will use the workaround in the meanwhile. Thanks a lot!

Jian

在 2014年12月29日星期一UTC-5下午11时13分33秒,Bryan Van de ven写道:
Hi Jian,

We have finally identified a promising technical way forward for implementing this long-requested feature. We are currently working to implement "headless" image generation so that you can create images and export them to SVG, PNG and other formats directly from python without ever having to interact with the browser. There are still some technical pieces to figure out, but our current best estimate is that this will be ready for the Bokeh 0.8 release, which is hopefully, tentatively scheduled for mid-February. You can follow the current progress in these issues:

https://github.com/bokeh/bokeh/issues/538
https://github.com/bokeh/bokeh/issues/1589

In the mean time the only solutions I can offer are either create the plot initially at the resolution you want to save at, or add a resize tool to the plot and resize it to the size you want before saving.

Thanks,

Bryan

> On Dec 29, 2014, at 9:51 PM, [email protected] wrote:
>
> Hi there,
>
> I am trying to use bokeh for making publication quality figures. I can currently export the image to a png file with 600x600 resolution using the preview/save tool, but I need higher resolution images. Could I save image with higher resolution (or in vector graphics format )?
>
> Thanks!
> Jian
>
> --
> 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/81c7b201-9646-49c1-a92e-197bede85f04%40continuum.io.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
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/2af6eed9-f2d1-4054-8210-507271b3d77f%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.