Log base 2 in graph

Hi guys. How do I make log base 2 scale? I didn’t find such a possibility in the documentation.

To my knowledge that is not a built-in option but you can do it manually by:

  • Setting the data as log2(data)
  • Setting the axis tickvalues […, -1, 0, 1, 2, 3, 4, 5, …] and ticklabels […, 0.5, 1, 2, 4, 8, 16, 32, …]

I have solve this task.
Use next the construction
fig.update_xaxes(type=“log”, dtick=0.30102999566)
dtick - change base.