BoxAnnotation on datetime axis

Hello,

I am trying to make a BoxAnnotation but I have x axis as datetime range. BoxAnnotation does not fill the area if I indicate for example right = 300.

I think it is because of DateTime format of the axis.

How can I solve this issue?

Thank u in advance.

This capability was only merged the other day:

  Allow datetime values for number specs by default by bryevdv · Pull Request #6278 · bokeh/bokeh · GitHub

It will appear in the next 0.12.6 release. Until 0.12.6 is released, you can either:

* download and build and install from source, or

* pass the coordinates as "milliseconds since epoch" (since 1/1/1970)

Thanks,

Bryan

···

On May 15, 2017, at 00:03, Nikoloz Mamisashvili <[email protected]> wrote:

Hello,

I am trying to make a BoxAnnotation but I have x axis as datetime range. BoxAnnotation does not fill the area if I indicate for example right = 300.
I think it is because of DateTime format of the axis.

How can I solve this issue?

Thank u in advance.

--
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/8d8a2ccb-b5c4-4b59-866d-d7a20df76297%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Wow. Thank you Bryan.

I love Bokeh. Fan of you guys.

···

On Mon, May 15, 2017 at 5:12 PM, Bryan Van de ven [email protected] wrote:

This capability was only merged the other day:

    [https://github.com/bokeh/bokeh/pull/6278](https://github.com/bokeh/bokeh/pull/6278)

It will appear in the next 0.12.6 release. Until 0.12.6 is released, you can either:

  • download and build and install from source, or

  • pass the coordinates as “milliseconds since epoch” (since 1/1/1970)

Thanks,

Bryan

On May 15, 2017, at 00:03, Nikoloz Mamisashvili [email protected] wrote:

Hello,

I am trying to make a BoxAnnotation but I have x axis as datetime range. BoxAnnotation does not fill the area if I indicate for example right = 300.

I think it is because of DateTime format of the axis.

How can I solve this issue?

Thank u in advance.

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/8d8a2ccb-b5c4-4b59-866d-d7a20df76297%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/147AE090-E7D4-41E0-A8D4-6A35488FED25%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.