This code is an example i took striaght out of plotly chart. Sets the axis type. Determines whether or not the range of this axis is computed in relation to the input data.