Meta tags:
description= The interactive graphing library for Python :sparkles: - Fix Express legend groups with duplicate labels by Alex-ardashev · Pull Request #5855 · plotly/plotly.py;
Headings (most frequently used words):
uh, oh, fix, express, legend, ardashev, labels, navigation, to, groups, with, duplicate, plotly, py, alex, label, branch, footer, loading, this, 5855, menu, repository, 5855alex, wants, merge, commit, intoplotly, mainplotly, mainfrom, collisionsalex, collisionscopy, head, name, clipboard, conversation, commented, oct, 30, 2026, edited, there, was, an, error, while, please, reload, page, link, issue, description, of, change, demo, testing, strategy, guidelines, has, not, been, deployed, reviewers, assignees, projects, milestone, development, participant,
Text of the page (most frequently used words):
the (20), and (19), this (18), #legend (15), #plotly (14), github (13), applied (11), one (10), express (10), fix (9), code (8), alex (8), ardashev (8), suggestion (7), cannot (7), suggestions (7), while (7), reload (7), labels (7), for (7), with (7), that (6), pull (6), all (6), true (6), two (6), label (6), you (5), security (5), please (5), request (5), was (5), loading (5), sign (5), groups (5), test_px (5), color (5), symbol (5), can (4), from (4), commit (4), there (4), error (4), page (4), duplicate (4), changelog (4), tests (4), test_optional (4), trace (4), name (4), copy (4), collisions (4), main (4), 5855 (4), your (4), support (4), copilot (4), not (3), navigation (3), merge (3), line (3), add (3), batch (3), single (3), have (3), conversation (3), hidden (3), characters (3), unicode (3), open (3), learn (3), branch (3), files (3), repository (3), when (3), source (3), column (3), group (3), fixes (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), customer (3), enterprise (3), grade (3), features (3), build (3), share (2), community (2), status (2), footer (2), 2026 (2), check (2), reviews (2), has (2), been (2), change (2), changes (2), may (2), issues (2), development (2), milestone (2), none (2), yet (2), projects (2), file (2), bidirectional (2), what (2), review (2), more (2), about (2), guidelines (2), ruff (2), pass (2), changed (2), cases (2), before (2), after (2), across (2), columns (2), control (2), same (2), entries (2), false (2), fig (2), display (2), mapping (2), issue (2), link (2), wants (2), into (2), head (2), clipboard (2), insights (2), actions (2), 649 (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), products (2), secret (2), perform, action, time, personal, information, manage, cookies, contact, docs, privacy, terms, inc, right, now, back, later, queued, multi, comments, pending, marked, resolved, outdated, must, existing, order, create, valid, applying, deleted, lines, supported, only, per, viewing, subset, closed, invalid, because, were, made, participant, successfully, merging, close, these, assigned, assignees, reviewers, already, account, comment, join, free, show, contains, text, interpreted, compiled, differently, than, appears, below, editor, reveals, deployments, deployed, 58f0f9e, reactions, sorry, something, went, wrong, added, entry, reviewed, conduct, confirm, follows, them, 540, passed, lint, formatting, both, python, wide, reports, 911, findings, unchanged, pytest, test_facets, test_px_hover, test_marginals, ten, regression, fail, pandas, including, nullable, arrow, backed, polars, pyarrow, five, keep, dimension, use, testing, strategy, exported, png, also, checked, shows, four, their, correct, colors, symbols, data, showlegend, print, scatter, import, demo, different, grouping, overwrites, drops, values, names, hides, gives, distinct, key, apply, building, title, description, related, case, described, discussion, separate, hover, collision, remains, outside, patch, 2562, markdown, commented, edited, oct, checks, commits, items, requests, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, latest, improvements, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip, content,
Text of the page (random words):
fix express legend groups with duplicate labels by alex ardashev pull request 5855 plotly plotly py github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message plotly plotly py repository navigation code issues 649 649 pull requests 87 87 actions security and quality insights more items fix express legend groups with duplicate labels 5855 5855 open alex ardashev wants to merge 1 commit into plotly main plotly plotly py main from alex ardashev fix express legend label collisions alex ardashev plotly py fix express legend label collisions copy head branch name to clipboard conversation commits 1 1 checks files changed open fix express legend groups with duplicate labels 5855 alex ardashev wants to merge 1 commit into plotly main plotly plotly py main from alex ardashev fix express legend label collisions alex ardashev plotly py fix express legend label collisions copy head branch name to clipboard conversation alex ardashev commented oct 30 2026 edited loading uh oh there was an error while loading please reload this page copy link copy markdown link to issue related to 2562 this fixes the legend case described in the issue discussion the separate hover label collision remains outside this patch description of change when different grouping columns share a display label plotly express overwrites one column in the legend name mapping this drops group values from trace names hides legend entries and gives distinct groups the same legend control key the mapping by the source column and apply display labels when building the legend title demo import plotly express as px fig px scatter x 1 2 3 4 y 4 3 2 1 color a a b b symbol one two one two x x y y color color symbol symbol labels color group symbol group print trace name trace showlegend for trace in fig data before one true two true one false two false after a one true a two true b one true b two true the exported png was also checked it shows all four legend entries with their correct colors and symbols testing strategy ten regression cases fail before the fix and pass after it across pandas including nullable and arrow backed columns polars and pyarrow five control cases keep a single legend dimension when color and symbol use the same source column pytest tests test_optional test_px test_px py tests test_optional test_px test_facets py tests test_optional test_px test_px_hover py tests test_optional test_px test_marginals py q 540 passed ruff lint and formatting pass on both changed python files the repository wide ruff check reports 1 911 findings all in unchanged files guidelines i have reviewed the pull request guidelines and code of conduct and confirm that this pr follows them i have added a changelog entry sorry something went wrong uh oh there was an error while loading please reload this page all reactions fix express legend groups with duplicate labels 58f0f9e this branch has not been deployed no deployments this file contains hidden or bidirectional unicode text that may be interpreted or compiled differently than what appears below to review open the file in an editor that reveals hidden unicode characters learn more about bidirectional unicode characters show hidden characters sign up for free to join this conversation on github already have an account sign in to comment reviewers no reviews uh oh there was an error while loading please reload this page assignees no one assigned labels none yet projects none yet milestone no milestone development successfully merging this pull request may close these issues uh oh there was an error while loading please reload this page 1 participant add this suggestion to a batch that can be applied as a single commit this suggestion is invalid because no changes were made to the code suggestions cannot be applied while the pull request is closed suggestions cannot be applied while viewing a subset of changes only one suggestion per line can be applied in a batch add this suggestion to a batch that can be applied as a single commit applying suggestions on deleted lines is not supported you must change the existing code in this line in order to create a valid suggestion outdated suggestions cannot be applied this suggestion has been applied or marked resolved suggestions cannot be applied from pending reviews suggestions cannot be applied on multi line comments suggestions cannot be applied while the pull request is queued to merge suggestion cannot be applied right now please check back later footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|