Regards,
Jon
On Tue, Apr 11, 2017 at 12:43 PM, Bryan Van de ven <bryan@bokeh.org> wrote:
Hi,
When you specify "datetime" then your axis gets configured with a DatetimeTickFormatter, which can be accessed by, e.g.
plot.xaxis.formatter
The different scales for DatetimeTickFormatter can be configured at a fine level:
formatters — Bokeh 3.3.2 Documentation
However, I notice that there is nothing about this in the users guide. It would be good to add something about this there as well. I'd encourage you to open a GitHub issue for this (and also submit a PR if you are able).
Thanks,
Bryan
> On Apr 10, 2017, at 13:35, Jonathan Slavin <jslavin@cfa.harvard.edu> wrote:
>
> Hi,
>
> I've been plotting data where the x values are datetime objects. Using the x_axis_type = 'datetime' argument to figure, that axis is labeled correctly but with a very short format: hh:mm (where hh is the hour and mm is the minutes). I'd like to have a longer string used for the date which would include the month and day, even though it is redundant (i.e. every point will have the same month and day in most cases). How do I do that? I was looking at the methods and attributes of the axis and nothing jumped out at me.
>
> Thanks,
> Jon
>
> --
> 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/bb7be028-787c-43de-8d03-a0ab4d02316c%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/ym0BQDeiccQ/unsubscribe\.
To unsubscribe from this group and all its topics, 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/3B34D270-E4E4-4EDF-B43C-C7606F9900FE%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin@cfa.harvard.edu 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
________________________________________________________
--
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/CACcRS%3De%3D_DO9QU-LxGbCjXiwjKDBBwfYZ2B3JeV1H%3DfTMtisFg%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.