Meta tags:
description= Description Graph object properties validated as integers (such as layout.xaxis.nticks, histogram.nbinsx and layout.updatemenus[].active) reject NumPy integer scalars, and properties validated as non-strict strings (such as name and text...;
Headings (most frequently used words):
navigation, description, metadata, footer, bug, integer, and, string, properties, reject, numpy, scalars, 5827, menu, repository, activity, issue, actions, steps, to, reproduce, notes, camdecoster, commented, on, oct, 19, 2026, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
and (23), numpy (17), github (14), for (12), the (9), #properties (7), #scalars (7), type (6), something (6), broken (6), bug (6), backlog (6), plotly (6), integer (6), name (6), text (6), nbinsx (6), security (5), 2026 (5), copilot (5), issue (5), actions (5), sign (5), your (5), are (5), string (5), number (5), int (5), nticks (5), value (5), reject (5), code (5), you (4), size (4), oct (4), with (4), python (4), checks (4), invalid (4), received (4), property (4), scatter (4), layout (4), lambda (4), support (4), this (3), navigation (3), open (3), projects (3), one (3), camdecoster (3), error (3), numbers (3), int64 (3), float32 (3), histogram (3), label (3), import (3), such (3), copy (3), link (3), 5827 (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), that (2), not (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), milestone (2), labels (2), metadata (2), already (2), review (2), more (2), message (2), converted (2), which (2), isinstance (2), float (2), expected (2), xaxis (2), int32 (2), print (2), call (2), unique (2), year (2), dataframe (2), integers (2), accepted (2), strings (2), same (2), validated (2), description (2), 5828 (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), can, perform, action, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, inc, app, branches, none, yet, relationships, assigned, assignees, comment, have, account, join, conversation, free, added, follow, there, contributor, commented, activity, reproduced, current, 38374acd, main, types, subclasses, they, fail, both, while, accepts, them, says, will, numbervalidator, stringvalidator, integervalidator, notes, actual, strip, splitlines, str, valueerror, except, try, xaxis_nticks, 2021, 2020, graph_objects, pandas, steps, reproduce, wherever, way, breaks, common, pattern, building, trace, per, column, returns, series, graph, object, non, strict, values, accept, marker, updatemenus, active, body, opened, raphaelfakhri, items, issues, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, next, 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, collaboration, platform, menu, skip, content,
Text of the page (random words):
bug integer and string properties reject numpy scalars issue 5827 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 integer and string properties reject numpy scalars 5827 new issue copy link new issue copy link open 5828 open bug integer and string properties reject numpy scalars 5827 5828 copy link labels p3 backlog backlog bug something broken something broken size 1 description raphaelfakhri opened on oct 19 2026 issue body actions description graph object properties validated as integers such as layout xaxis nticks histogram nbinsx and layout updatemenus active reject numpy integer scalars and properties validated as non strict strings such as name and text reject numpy integer and float32 scalars python int and float values of the same number are accepted and number properties such as marker size already accept numpy scalars this breaks a common pattern building one trace per value of a dataframe column with series unique which returns numpy scalars expected numpy integers are accepted wherever a python int is and numpy numbers are converted to strings the same way python numbers are steps to reproduce import numpy as np import pandas as pd import plotly graph_objects as go df pd dataframe year 2020 2021 v 1 2 for label call in name lambda go scatter name df year unique 0 text lambda go scatter text np float32 1 5 nticks lambda go layout xaxis_nticks np int64 5 nbinsx lambda go histogram nbinsx np int32 10 try call print label ok except valueerror as error print label str error splitlines 1 strip actual name invalid value of type numpy int64 received for the name property of scatter text invalid value of type numpy float32 received for the text property of scatter nticks invalid value of type numpy int64 received for the nticks property of layout xaxis nbinsx invalid value of type numpy int32 received for the nbinsx property of histogram expected name ok text ok nticks ok nbinsx ok notes integervalidator checks isinstance v int and stringvalidator checks isinstance v int float numpy integer types are not subclasses of int so they fail both checks while numbervalidator checks numbers number and accepts them the error message for string properties says a number that will be converted to a string which a numpy number is reproduced with plotly 7 1 0 and current main 38374acd numpy 2 x python 3 12 activity camdecoster commented on oct 19 2026 camdecoster on oct 19 2026 contributor more actions i ll review your pr and follow up there camdecoster added bug something broken something broken p3 backlog backlog size 1 on oct 19 2026 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 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
|