Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Parallel plot: controlling angle and position behavior #5182

Open
Labels
P3backlog featuresomething new
@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlog featuresomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /