site address:
github.com/plotly/plotly.py/issues/5676 redirected to: github.com/plotly/plotly.py/issues/5676
site title:
[BUG] `dcc.Graph` `figure` prop may include Plotly.js `_inputArray` for typed arrays · Issue #5676 · plotly/plotly.py · GitHub
|
|
|
Our opinion (on Wednesday 18 November 2026 17:19:43 UTC):
- no comments
|
|
|
|
After content analysis of this website we propose the following hashtags:
|
|
|
|
Meta tags:
description= When a dcc.Graph figure data contains typed arrays (for example int8, float32, etc.), the figure can include a Plotly.js internal field _inputArray In the example below, the _inputArray is included after user interaction but not when the...;
Headings (most frequently used words):
commented, on, 2026, navigation, jul, metadata, footer, annmariew, 23, bug, dcc, graph, figure, prop, may, include, plotly, js, _inputarray, for, typed, arrays, 5676, menu, repository, description, activity, issue, actions, jun, 26, robertclaus, camdecoster, 30, emilykl, sep, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
for (24), 2026 (15), github (14), obj (14), the (13), plotly (13), _inputarray (13), and (13), figure (13), graph (11), actions (9), bug (9), dcc (9), #arrays (9), data (9), issue (8), annmariew (8), jul (8), dash (8), typed (8), app (7), considered (7), next (7), you (6), this (6), something (6), broken (6), cycle (6), more (6), return (6), import (6), include (6), not (5), security (5), copilot (5), sign (5), commented (5), robertclaus (5), callback (5), prop (5), may (5), code (5), size (4), with (4), arr (4), shape (4), dtype (4), jun (4), fig (4), when (4), your (4), support (4), that (3), navigation (3), open (3), projects (3), need (3), from (3), decode_typed_arrays (3), strip (3), short_to_numpy (3), bdata (3), numpy (3), hoverdata (3), input (3), html (3), copy (3), link (3), 5676 (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), all (3), build (3), can (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), milestone (2), type (2), labels (2), one (2), metadata (2), have (2), related (2), contributor (2), sep (2), emilykl (2), transferred (2), close (2), camdecoster (2), here (2), author (2), fix (2), isinstance (2), items (2), base64 (2), def (2), float32 (2), int8 (2), array (2), payload (2), debug (2), json (2), output (2), after (2), first (2), issues (2), using (2), also (2), are (2), but (2), example (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), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, inc, branches, none, yet, relationships, assigned, assignees, comment, already, account, join, conversation, free, 5124, reacted, ann, marie, ward, react, over, makes, sense, would, like, thank, write, likely, added, list, exception, except, tolist, reshape, split, str, int, tuple, b64decode, frombuffer, try, dict, float64, uint32, int32, uint16, int16, uint8, proposal, function, decode, changed, title, activity, true, run, __main__, __name__, indent, dumps, children, pre, div, layout, nbins, histogram, 250, normal, random, express, sample, hover, renders, way, covert, usable, correctly, read, back, 3307, other, option, encode, will, being, available, they, clickdata, customdata, before, updating, might, breaking, change, since, some, people, now, callbacks, possible, fixs, duplicates, includes, decoded, increasing, overhead, large, datasets, below, included, user, interaction, rendered, contains, etc, internal, field, body, opened, description, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, 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, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
bug dcc graph figure prop may include plotly js _inputarray for typed arrays issue 5676 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 dcc graph figure prop may include plotly js _inputarray for typed arrays 5676 new issue copy link new issue copy link open open bug dcc graph figure prop may include plotly js _inputarray for typed arrays 5676 copy link labels p2 considered for next cycle considered for next cycle bug something broken something broken size 3 description annmariew opened on jun 26 2026 issue body actions when a dcc graph figure data contains typed arrays for example int8 float32 etc the figure can include a plotly js internal field _inputarray in the example below the _inputarray is included after user interaction but not when the figure is first rendered _inputarray duplicates bdata and also includes decoded data increasing callback payload size and overhead for large datasets possible fixs strip _inputarray in dcc graph before updating the figure prop but that might be considered a breaking change since some people are now using _inputarray in callbacks have an option to not encode np arrays when using dash this will also fix the issue of customdata not being available is clickdata hoverdata if they are np arrays other related issues need a way to covert the typed arrays so the data is usable in a dash callback bug numpy array not correctly read back from figure data dash 3307 when app first renders no _inputarray after hover with _inputarray sample app from dash import dash html dcc input output import numpy as np import plotly express as px import json app dash data np random normal 0 1 250 fig px histogram data nbins 20 app layout html div dcc graph id graph figure fig html pre id fig data app callback output fig data children input graph figure input graph hoverdata def debug figure hoverdata return json dumps figure data 0 x indent 4 if __name__ __main__ app run debug true activity annmariew changed the title bug dcc graph callback payload may include plotly js _inputarray for typed arrays bug dcc graph figure prop may include plotly js _inputarray for typed arrays on jun 26 2026 annmariew commented on jun 26 2026 annmariew on jun 26 2026 author more actions here s a proposal for a function to decode a typed array in a dash callback import base64 import numpy as np short_to_numpy i1 np int8 u1 np uint8 i2 np int16 u2 np uint16 i4 np int32 u4 np uint32 f4 np float32 f8 np float64 def decode_typed_arrays obj if isinstance obj dict if dtype in obj and bdata in obj and obj dtype in short_to_numpy try arr np frombuffer base64 b64decode obj bdata dtype short_to_numpy obj dtype if shape in obj shape tuple int x strip for x in str obj shape split if x strip arr arr reshape shape return arr tolist except exception return obj return k decode_typed_arrays v for k v in obj items if k _inputarray if isinstance obj list return decode_typed_arrays v for v in obj return obj robertclaus added p2 considered for next cycle considered for next cycle size 3 bug something broken something broken on jul 23 2026 robertclaus commented on jul 23 2026 robertclaus on jul 23 2026 more actions thank you for the write up annmariew we ll likely need to fix this in plotly py annmariew commented on jul 23 2026 annmariew on jul 23 2026 author more actions robertclaus that makes sense would you like me to close this here robertclaus transferred this issue from plotly dash on jul 27 2026 camdecoster commented on jul 30 2026 camdecoster on jul 30 2026 contributor more actions annmariew we transferred the issue over so no need to close it ️ react with ️ 1 reacted by ann marie ward emilykl commented on sep 2 2026 emilykl on sep 2 2026 contributor more actions related 5124 sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels p2 considered for next cycle considered for next cycle bug something broken something broken size 3 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
|
|
| Thumbnail images (randomly selected): * Images may be subject to copyright. | |  |
|
Verified site has: 57 subpage(s). Do you want to verify them? Verify pages:
|
The site also has references to the 4 subdomain(s)
|
The site also has 5 references to external domain(s).
|
|
|
Pages verified in the last hours (randomly selected):
|
|
Top 50 hastags from of all verified websites.
| |
|
|
|
|
|
|
Load Info| page size | 52434 | | load time (s) | 1.139062 | | redirect count | 1 | | speed download | 46035 | | server IP | 74.161.79.192 |
|
|
|
|
|
|
|
|
* Image may be subject to copyright.
|
|