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

anchor: 'free' breaks fixed range with multiple axes #7296

Open
matinh opened this issue Dec 3, 2024 · 0 comments
Open

anchor: 'free' breaks fixed range with multiple axes #7296

matinh opened this issue Dec 3, 2024 · 0 comments
Labels
bug something broken P3 backlog

Comments

@matinh
Copy link

matinh commented Dec 3, 2024

This issue is already described in detail in the plotly forum. Here is just a short summary:

On a scatter plot with multiple (three) axes/traces each axis should have a range with a dynamic (autorange) lower bound like this:

var layout = {
    // ...
    yaxis: {
        range: [null,200],
        autorange: 'min'
    },
    // ...

For 3 traces/axes, this is not working as expected! A complete SSCCE is available on codepen. The example works fine for two traces, but once a third trace is enabled (uncomment line 10), the autorange stops working.

This issue seems only to exist of anchor is set to free for the axes. However, when using multiple axes, the anchor has to be free for meaningful axes-positioning.

@gvwilson gvwilson added bug something broken P3 backlog labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants