8000 Parallel plot: controlling angle and position behavior · Issue #5182 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Parallel plot: controlling angle and position behavior #5182

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

Open
Vincent-Maladiere opened this issue May 13, 2025 · 1 comment
Open

Parallel plot: controlling angle and position behavior #5182

Vincent-Maladiere opened this issue May 13, 2025 · 1 comment
Labels
feature something new P3 backlog

Comments

@Vincent-Maladiere
Copy link

Hi plotly team,

When the labelangle is below some threshold, the axis label gets centered automatically (like "choose_from(...)" on the figure below). Instead, we'd like to control this behavior with a parameter, so that long texts can fit the screen nicely, with a low angle and right alignment with the axis. WDYT?

Ideally, something like:

import plotly.graph_objects as go

go.Figure(
    go.Parcoords(
        dimensions=[
            {
                "label": "hello " * 5,
                "values": [1, 2, 4, 5],
            }
        ],
        labelangle=20,
        labelside="top",
        align_center=False, # <-- 
    )
)

Image

See: skrub-data/skrub#1367

@gvwilson
Copy link
Contributor

thanks for the suggestion @Vincent-Maladiere - it's a good idea but we are unlikely to get to it any time soon. if you or anyone else from the community would like to submit a PR, I can try to prioritize review. thanks again - @gvwilson

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

No branches or pull requests

2 participants
0