☰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

BokehJS problem with log axis

Community Support
leihora
leihora

Hi,
I’m new to Bokeh and I’m trying to use BokehJS to plot figures with log y axis

The following plnkr show a simple example : Plunker - Problem with the log scale

Basically, with the 0.12.5, i can’t plot with y_axis_type:“log” without manually defining an y_range

the 0.12.6dev6 makes it possible, but in both cases, the plotted figure is not scaled:

the axis ticks are correcly labeled, but their spacing is the same as in a continuous axis.

I must forget something very basic but I can’t find what I’m doing wrong.

⌁   Link to post
Bryan
Bryan

Hi,

The BokehJS function APIs are much newer and not nearly as widely used as e.g. the Python or R bindings that use the JSON interface. You've probably just run across a bug, I'd suggest filing an issue on GitHub so it can be tracked and addressed:

  Issues · bokeh/bokeh · GitHub

Thanks,

Bryan

···

On May 25, 2017, at 20:23, leihora@gmail.com wrote:

Hi,
I'm new to Bokeh and I'm trying to use BokehJS to plot figures with log y axis

The following plnkr show a simple example : Plunker - Problem with the log scale

Basically, with the 0.12.5, i can't plot with y_axis_type:"log" without manually defining an y_range
the 0.12.6dev6 makes it possible, but in both cases, the plotted figure is not scaled:
the axis ticks are correcly labeled, but their spacing is the same as in a continuous axis.

I must forget something very basic but I can't find what I'm doing wrong.

--
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/5a5fad55-4dab-43cc-b631-e0886262e001%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