I wanted to create a weibull probability plot using Bokeh. Based on the reference (linked below),
https://www.itl.nist.gov/div898/handbook/eda/section3/weibplot.htm
The y-axis of a weibull probability plot has an axes with scale: ln(-ln(1-p)). Let's say that I have defined a function (with it's inverse function),
import numpy as np
def forward(X):
return np.log(-np.log(1 - X))
def inverse(Y):
return 1 - np.exp(-np.exp(Y))
Using matplotlib.pyplot (from https://matplotlib.org/stable/gallery/scales/scales.html), I could use those function for setting the y-axis' scale on pyplot by,
import matplotlib.pyplot as plt
fig, ax = .........
ax.set_yscale('function', functions=(forward, inverse))
How can I achieve that (setting y-axis scale using function) on Bokeh?