Meta tags:
description= Description When attempting to enable draw closed paths on a plotly.graph_objects.FigureWidget, I noticed that there was an issue when attempting to delete the existing drawn paths. It seems that while fig.layout.to_plotly_json().get( sh...;
Headings (most frequently used words):
commented, on, 2026, navigation, aug, description, metadata, footer, emilykl, bug, figurewidget, layout, shapes, not, updated, after, drawing, path, in, jupyterlab, 5689, menu, repository, activity, issue, actions, steps, to, reproduce, notes, robertclaus, seshan18, 28, sep, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
shapes (33), #layout (28), fig (24), 2026 (14), github (14), the (13), print (13), and (12), this (11), aug (11), issue (10), for (10), plotly (9), to_plotly_json (9), actions (8), figurewidget (8), get (8), that (7), bug (7), emilykl (7), you (6), not (6), something (6), broken (6), backlog (6), more (6), with (6), json (6), after (6), security (5), copilot (5), sign (5), widgets (5), out (5), code (5), commented (4), added (4), changelog (4), 5689 (4), eugenekwaneuromics (4), robertclaus (4), jupyterlab (4), description (4), path (4), your (4), support (4), navigation (3), open (3), projects (3), size (3), into (3), fixes (3), seshan18 (3), there (3), when (3), import (3), display (3), fail_clear_button (3), working_clear_button (3), json_shapes (3), copy (3), link (3), updated (3), drawing (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), customer (3), enterprise (3), grade (3), features (3), all (3), build (3), can (2), information (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), milestone (2), type (2), labels (2), assignees (2), metadata (2), have (2), but (2), think (2), contributor (2), sep (2), fb82089 (2), will (2), close (2), once (2), commit (2), merged (2), main (2), branch (2), add (2), array (2), property (2), fix (2), d8619b9 (2), work (2), review (2), surprising (2), thank (2), are (2), available (2), via (2), assigned (2), ipywidgets (2), graph_objects (2), from (2), update_layout (2), dict (2), button (2), clear (2), roi (2), def (2), clear_roi (2), clear_roi_alt (2), legendwidth (2), name (2), on_click (2), attempting (2), paths (2), drawn (2), object (2), 5714 (2), new (2), insights (2), 649 (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), products (2), secret (2), perform, action, time, share, personal, manage, cookies, contact, docs, privacy, terms, inc, app, branches, none, yet, relationships, comment, already, account, join, conversation, free, need, look, closer, confirm, duplicate, 5309, commits, reference, entry, compound, synchronization, plotl, reacted, robert, claus, react, like, likely, won, bandwidth, address, near, future, would, happy, said, amount, complexity, around, various, methods, accessing, figure, attributes, even, involved, totally, here, report, agree, isn, expected, reasonable, expect, them, well, last, edited, reporting, activity, python, windows, 26100, sp0, notes, ipython, heatmap, showscale, false, dragmode, drawclosedpath, newshape, line, color, red, width, fails, works, output, batch_update, pulling, clearing, vbox, steps, reproduce, enable, draw, closed, noticed, was, delete, existing, seems, while, able, detect, relayed, fixed, manually, editing, plugging, then, deleting, manual, edits, remove, 0x000001bfe6411440, both, body, opened, items, issues, message, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, 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, source, latest, improvements, across, one, 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, hosting, collaboration, platform, menu, skip, content,
Text of the page (random words):
bug figurewidget layout shapes not updated after drawing a path in jupyterlab issue 5689 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 bug figurewidget layout shapes not updated after drawing a path in jupyterlab 5689 new issue copy link new issue copy link open 5714 open bug figurewidget layout shapes not updated after drawing a path in jupyterlab 5689 5714 copy link assignees labels p3 backlog backlog bug something broken something broken size 1 description eugenekwaneuromics opened on aug 1 2026 issue body actions description when attempting to enable draw closed paths on a plotly graph_objects figurewidget i noticed that there was an issue when attempting to delete the existing drawn paths it seems that while fig layout to_plotly_json get shapes is able to detect the path drawn this information is not relayed to fig layout shapes this can be fixed by manually editing fig layout to_plotly_json get shapes plugging it into fig layout shapes and then deleting the manual edits are to remove the object object at 0x000001bfe6411440 that is assigned to both name and legendwidth steps to reproduce import plotly graph_objects as go import ipywidgets as widgets from ipython display import display fig go figurewidget go heatmap z 1 2 3 4 showscale false fig update_layout dragmode drawclosedpath newshape dict line dict color red width 2 fail_clear_button widgets button description clear roi fails working_clear_button widgets button description clear roi works out widgets output def clear_roi _ with out print layout shapes fig layout shapes print json shapes fig layout to_plotly_json get shapes with fig batch_update fig layout shapes print after update_layout print layout shapes fig layout shapes print json shapes fig layout to_plotly_json get shapes def clear_roi_alt _ with out print layout shapes fig layout shapes print json shapes fig layout to_plotly_json get shapes json_shapes fig layout to_plotly_json get shapes for s in json_shapes s legendwidth 0 s name fig layout shapes json_shapes print after pulling from json print layout shapes fig layout shapes print json shapes fig layout to_plotly_json get shapes fig layout shapes print after clearing print layout shapes fig layout shapes print json shapes fig layout to_plotly_json get shapes fail_clear_button on_click clear_roi working_clear_button on_click clear_roi_alt display widgets vbox fail_clear_button working_clear_button fig out notes python 3 12 13 plotly 6 9 0 jupyterlab 4 5 6 ipywidgets 8 1 8 os windows 11 10 0 26100 sp0 activity eugenekwaneuromics added bug something broken something broken on aug 1 2026 robertclaus assigned emilykl on aug 3 2026 robertclaus added p3 backlog backlog size 1 on aug 3 2026 robertclaus commented on aug 3 2026 robertclaus on aug 3 2026 more actions eugenekwaneuromics thank you for reporting emilykl commented on aug 9 2026 emilykl on aug 9 2026 last edited by emilykl contributor more actions thank you for the report eugenekwaneuromics i agree this isn t expected if the added shapes are available via fig layout to_plotly_json i think it s reasonable to expect them to be available via fig layout shapes as well that said there s a surprising amount of complexity around the various methods of accessing figure attributes in plotly py and even more so when figurewidget is involved so it s not totally surprising to me that there s a bug here we likely won t have the bandwidth to address this in the near future but would be happy to review a pr seshan18 commented on aug 28 2026 seshan18 on aug 28 2026 more actions i like to work on this issue react with 1 reacted by robert claus seshan18 added 2 commits that reference this issue on aug 28 2026 fix figurewidget compound array property synchronization fixes plotl this issue will close once commit d8619b9 is merged into the main branch d8619b9 add changelog entry for figurewidget array property fix plotly 5689 this issue will close once commit fb82089 is merged into the main branch fb82089 emilykl commented on sep 2 2026 emilykl on sep 2 2026 contributor more actions need to look closer to confirm but i think this is a duplicate of 5309 sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees emilykl labels p3 backlog backlog bug something broken something broken size 1 type no type projects no projects milestone no milestone relationships none yet development no branches or pull requests issue actions open in github copilot app 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
|