Open
@Vincent-Maladiere

Description

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