Skip to content

Parallel plot: controlling angle and position behavior #5182

Open
@Vincent-Maladiere

Description

@Vincent-Maladiere

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy