2

I want to do some customized axis transformation to show my data better in a plot by Plotly Python. For example, using x1 = ln(x), y1 = ln(ln(1-y)) to make the original y=1-exp(x^3) curve linear. I'd like to know whether Plotly supports such a customized axis transformation (I failed to find it in the documentation), or I have to do the data transformation first, then make the plot and customize ticks? What is the best practice? Thanks.

0

1 Answer 1

3

To my knowledge, specifying a custom axis type is not possible at the moment. From the docs you can see that the axis type can be specified as:

  - One of the following enumeration values:
        ['-', 'linear', 'log', 'date', 'category',
        'multicategory']

So I would definitely do the necessary transformations before plotting in your case.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.