Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid text on the logarithmic axis #5585

Closed
nikita-zamaraev-loginom opened this issue Apr 9, 2021 · 1 comment · Fixed by #5622
Closed

Invalid text on the logarithmic axis #5585

nikita-zamaraev-loginom opened this issue Apr 9, 2021 · 1 comment · Fixed by #5622
Labels
bug something broken

Comments

@nikita-zamaraev-loginom
Copy link

Plotly config:

var data = [{
  type: "scatter",
  y: [2, 5, 3, 2.5],
  mode: 'text+lines+markers',
  texttemplate: "%{y}"
}];

var layout = {
    yaxis: {
        type: 'log'
    }
};

Example on codepen - https://codepen.io/x-base/pen/LYxOwBR

Expected text - 2, 5, 3, 2.5,
but I see Math.pow(y) - 100, 100k, 1000, 316.2278.

@nicolaskruchten nicolaskruchten added the bug something broken label Apr 9, 2021
@nicolaskruchten
Copy link
Contributor

Yikes, thanks for the bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants