☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

BoxAnnotation on datetime axis

Community Support
Nikoloz_Mamisashvili
Nikoloz_Mamisashvili

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.

⌁   Link to post
Bryan
Bryan

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 <nikusha37@gmail.com> 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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\.

⌁   Link to post
Nikoloz_Mamisashvili
Nikoloz_Mamisashvili

Wow. Thank you Bryan.

I love Bokeh. Fan of you guys.

···

On Mon, May 15, 2017 at 5:12 PM, Bryan Van de ven bryan@bokeh.org 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 nikusha37@gmail.com 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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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.

⌁   Link to post

End of archived discussion · Replies are disabled