René's URL Explorer Experiment


Title: Introducing `Plotly.update` by etpinard · Pull Request #875 · plotly/plotly.js · GitHub

Open Graph Title: Introducing `Plotly.update` by etpinard · Pull Request #875 · plotly/plotly.js

X Title: Introducing `Plotly.update` by etpinard · Pull Request #875 · plotly/plotly.js

Description: Open-source JavaScript charting library behind Plotly and Dash - Introducing `Plotly.update` by etpinard · Pull Request #875 · plotly/plotly.js

Open Graph Description: resolves #671 This PR adds a top-level API method: Plotly.update. In brief, Plotly.update combines trace and layout update logic from Plotly.restyle and Plotly.relayout respectively so that user ca...

X Description: resolves #671 This PR adds a top-level API method: Plotly.update. In brief, Plotly.update combines trace and layout update logic from Plotly.restyle and Plotly.relayout respectively so that user ca...

Opengraph URL: https://github.com/plotly/plotly.js/pull/875

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a8c2b2e1-96c4-8929-a373-e82b86c28b81
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE32:3D97C8:2FD3CD6:3FAECB4:6B01E09B
html-safe-nonced3b37ed9882be337d2f327423cf25f7e53ea4bfdec1114f35df7e0f158aca9d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTMyOjNEOTdDODoyRkQzQ0Q2OjNGQUVDQjQ6NkIwMUUwOUIiLCJ2aXNpdG9yX2lkIjoiNDA2OTA5NjI1NjE4ODgzMzk0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7d21b85ed3a0bbf596521a1e06c672ee060c411939973472aba1b97085d7cabf
hovercard-subject-tagpull_request:82263049
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/875/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a15182412e80905bb8875cd18caaa51d63e2563d158d6f44049837d4d657d038/plotly/plotly.js/pull/875
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a15182412e80905bb8875cd18caaa51d63e2563d158d6f44049837d4d657d038/plotly/plotly.js/pull/875
og:image:altresolves #671 This PR adds a top-level API method: Plotly.update. In brief, Plotly.update combines trace and layout update logic from Plotly.restyle and Plotly.relayout respectively so that user ca...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameetpinard
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/875#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F875
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F875
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/875
Reloadhttps://github.com/plotly/plotly.js/pull/875
Reloadhttps://github.com/plotly/plotly.js/pull/875
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
update-methodhttps://github.com/plotly/plotly.js/tree/update-method
Conversationhttps://github.com/plotly/plotly.js/pull/875
Commits14 (14)https://github.com/plotly/plotly.js/pull/875/commits
Checkshttps://github.com/plotly/plotly.js/pull/875/checks
Files changedhttps://github.com/plotly/plotly.js/pull/875/files
Introducing Plotly.updatehttps://github.com/plotly/plotly.js/pull/875#top
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
update-methodhttps://github.com/plotly/plotly.js/tree/update-method
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Aug 22, 2016https://github.com/plotly/plotly.js/pull/875#issue-172554538
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
#671https://github.com/plotly/plotly.js/issues/671
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
etpinardhttps://github.com/etpinard
August 22, 2016 16:53https://github.com/plotly/plotly.js/pull/875#commits-pushed-17e7e79
https://github.com/etpinard
plot api: move common routine to helpers.jshttps://github.com/plotly/plotly.js/pull/875/commits/17e7e793dd3d2f7cf852f997efd9a0267163cda9
17e7e79https://github.com/plotly/plotly.js/pull/875/commits/17e7e793dd3d2f7cf852f997efd9a0267163cda9
https://github.com/etpinard
plot api: add proper jsDoc to restyle and relayouthttps://github.com/plotly/plotly.js/pull/875/commits/b2a072a64a23bf030e8c47d48c0a467b772a3b4d
b2a072ahttps://github.com/plotly/plotly.js/pull/875/commits/b2a072a64a23bf030e8c47d48c0a467b772a3b4d
https://github.com/etpinard
plot api: move plot/update sub-routine to subroutines.jshttps://github.com/plotly/plotly.js/pull/875/commits/3024b716db4789a29dd2bd98dc5d49d275a79089
3024b71https://github.com/plotly/plotly.js/pull/875/commits/3024b716db4789a29dd2bd98dc5d49d275a79089
https://github.com/etpinard
plot api: rm unused 'dolayout' flag in restylehttps://github.com/plotly/plotly.js/pull/875/commits/ce51b218716ab6fd6b697cacf5d0c64e23651870
ce51b21https://github.com/plotly/plotly.js/pull/875/commits/ce51b218716ab6fd6b697cacf5d0c64e23651870
https://github.com/etpinard
plot api: refactor Plotly.restylehttps://github.com/plotly/plotly.js/pull/875/commits/497203d79ab43a9cbc4344a19e31697b59d0240f
497203dhttps://github.com/plotly/plotly.js/pull/875/commits/497203d79ab43a9cbc4344a19e31697b59d0240f
https://github.com/etpinard
plot api: rm unused annotation ref -> xref/yref translate stephttps://github.com/plotly/plotly.js/pull/875/commits/e1a989fe3b930290ce284ce574b1f4f56bff1ab8
e1a989fhttps://github.com/plotly/plotly.js/pull/875/commits/e1a989fe3b930290ce284ce574b1f4f56bff1ab8
https://github.com/etpinard
plot api: refactor Plotly.relayouthttps://github.com/plotly/plotly.js/pull/875/commits/822cf8c83f600f5c28e336645042ee99b0a86c84
822cf8chttps://github.com/plotly/plotly.js/pull/875/commits/822cf8c83f600f5c28e336645042ee99b0a86c84
https://github.com/etpinard
add Plotly.update method:https://github.com/plotly/plotly.js/pull/875/commits/7752eb481d963d92c964057ac92c0da2f3a098b9
7752eb4https://github.com/plotly/plotly.js/pull/875/commits/7752eb481d963d92c964057ac92c0da2f3a098b9
https://github.com/etpinard
test: add test for Plotly.updatehttps://github.com/plotly/plotly.js/pull/875/commits/26c407597c22d4ba749b06d70a40e0ce3db3f6db
26c4075https://github.com/plotly/plotly.js/pull/875/commits/26c407597c22d4ba749b06d70a40e0ce3db3f6db
https://github.com/etpinard
etpinardhttps://github.com/etpinard
feature https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature
status: reviewable https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20reviewable%22
Aug 22, 2016https://github.com/plotly/plotly.js/pull/875#event-763632278
https://github.com/etpinard
etpinardhttps://github.com/etpinard
v1.17.0https://github.com/plotly/plotly.js/milestone/8
Aug 22, 2016https://github.com/plotly/plotly.js/pull/875#event-763632280
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Aug 22, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-241550725
@chriddyphttps://github.com/chriddyp
@VeraZabhttps://github.com/VeraZab
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
etpinardhttps://github.com/etpinard
Aug 22, 2016 https://github.com/plotly/plotly.js/pull/875#discussion-diff-75760612
View reviewed changes https://github.com/plotly/plotly.js/pull/875/files/b2a072a64a23bf030e8c47d48c0a467b772a3b4d..3024b716db4789a29dd2bd98dc5d49d275a79089#diff-d670f85239a0f2240b21379a074593658aa18b142d90eeeab8a10699713eb148
src/plot_api/subroutines.jshttps://github.com/plotly/plotly.js/pull/875/files#diff-d670f85239a0f2240b21379a074593658aa18b142d90eeeab8a10699713eb148
etpinardhttps://github.com/etpinard
Aug 22, 2016https://github.com/plotly/plotly.js/pull/875#discussion_r75760612
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
26c4075https://github.com/plotly/plotly.js/commit/26c407597c22d4ba749b06d70a40e0ce3db3f6db
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/VeraZab
VeraZabhttps://github.com/VeraZab
Aug 23, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-241722875
https://cloud.githubusercontent.com/assets/4257572/17892114/b4b98e72-690d-11e6-8156-44fa09bfb4c7.gif
@chriddyphttps://github.com/chriddyp
https://github.com/plotly/dev-docs/blob/master/advanced/plotly.js.md#developing-plotlyjs-in-streambedhttps://github.com/plotly/dev-docs/blob/master/advanced/plotly.js.md#developing-plotlyjs-in-streambed
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
mdtuszhttps://github.com/mdtusz
Aug 23, 2016 https://github.com/plotly/plotly.js/pull/875#discussion-diff-75891287
View reviewed changes https://github.com/plotly/plotly.js/pull/875/files/17e7e793dd3d2f7cf852f997efd9a0267163cda9..b2a072a64a23bf030e8c47d48c0a467b772a3b4d#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
src/plot_api/plot_api.jshttps://github.com/plotly/plotly.js/pull/875/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
mdtuszhttps://github.com/mdtusz
Aug 23, 2016https://github.com/plotly/plotly.js/pull/875#discussion_r75891287
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
etpinardhttps://github.com/etpinard
Sep 6, 2016https://github.com/plotly/plotly.js/pull/875#discussion_r77728494
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
e8dbf55https://github.com/plotly/plotly.js/commit/e8dbf55c6d450a83c91cd76473b46fa611980ab3
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/mdtusz
mdtuszhttps://github.com/mdtusz
Aug 23, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-241794998
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/VeraZab
VeraZabhttps://github.com/VeraZab
Aug 29, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-243139052
https://cloud.githubusercontent.com/assets/4257572/18054654/b81fd458-6dd2-11e6-9be4-5e3b0abaae80.gif
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Sep 1, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-244125387
@VeraZabhttps://github.com/VeraZab
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/theengineear
theengineearhttps://github.com/theengineear
Sep 1, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-244196658
@VeraZabhttps://github.com/VeraZab
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/VeraZab
VeraZabhttps://github.com/VeraZab
Sep 4, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-244613259
@etpinardhttps://github.com/etpinard
@theengineearhttps://github.com/theengineear
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
etpinardhttps://github.com/etpinard
September 6, 2016 16:21https://github.com/plotly/plotly.js/pull/875#commits-pushed-c3327aa
https://github.com/etpinard
Merge branch 'master' into update-methodhttps://github.com/plotly/plotly.js/pull/875/commits/c3327aa99ee374ed3d7c3568f1fcf808b10dc01b
c3327aahttps://github.com/plotly/plotly.js/pull/875/commits/c3327aa99ee374ed3d7c3568f1fcf808b10dc01b
https://github.com/etpinard
merge followup: use helpers.getGraphDiv in animate/frame methodshttps://github.com/plotly/plotly.js/pull/875/commits/01967d8baa4b20da2032ace04b204a5121f5931a
01967d8https://github.com/plotly/plotly.js/pull/875/commits/01967d8baa4b20da2032ace04b204a5121f5931a
https://github.com/etpinard
improve jsDoc for restyle/relayout/updatehttps://github.com/plotly/plotly.js/pull/875/commits/e8dbf55c6d450a83c91cd76473b46fa611980ab3
e8dbf55https://github.com/plotly/plotly.js/pull/875/commits/e8dbf55c6d450a83c91cd76473b46fa611980ab3
https://github.com/etpinard
dry: pull trace indices input -> list logic in helpershttps://github.com/plotly/plotly.js/pull/875/commits/3db6d2145276e4bab80db29f2706a4f2904b6ea5
3db6d21https://github.com/plotly/plotly.js/pull/875/commits/3db6d2145276e4bab80db29f2706a4f2904b6ea5
https://github.com/etpinard
test: adapt transition test to more strict 'traces' APIhttps://github.com/plotly/plotly.js/pull/875/commits/c15a617bf053f14d03855c35bbe2ae19becb51f3
c15a617https://github.com/plotly/plotly.js/pull/875/commits/c15a617bf053f14d03855c35bbe2ae19becb51f3
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Sep 6, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-245112984
@rreusserhttps://github.com/rreusser
3db6d21https://github.com/plotly/plotly.js/commit/3db6d2145276e4bab80db29f2706a4f2904b6ea5
c15a617https://github.com/plotly/plotly.js/commit/c15a617bf053f14d03855c35bbe2ae19becb51f3
#802https://github.com/plotly/plotly.js/pull/802
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/rreusser
rreusserhttps://github.com/rreusser
Sep 6, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-245115672
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/etpinard
etpinardhttps://github.com/etpinard
7916bb3https://github.com/plotly/plotly.js/commit/7916bb329fe0af8ee2c507df49a8b4cb4d71bdfa
Sep 7, 2016https://github.com/plotly/plotly.js/pull/875#event-780922192
https://github.com/etpinard
etpinardhttps://github.com/etpinard
September 7, 2016 13:42https://github.com/plotly/plotly.js/pull/875#event-780922242
https://github.com/theengineear
theengineearhttps://github.com/theengineear
Sep 7, 2016https://github.com/plotly/plotly.js/pull/875#issuecomment-245347047
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/rreusser
rreusserhttps://github.com/rreusser
Sep 13, 2016 https://github.com/plotly/plotly.js/pull/875#ref-issue-161496148
Stop performing a full redraw on every update benjeffery/react-plotlyjs#6 https://github.com/benjeffery/react-plotlyjs/issues/6
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Sep 15, 2016 https://github.com/plotly/plotly.js/pull/875#ref-issue-177073231
Invisible traces in 1.17.0+ when using Plotly.redraw #942 https://github.com/plotly/plotly.js/issues/942
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Sep 22, 2016 https://github.com/plotly/plotly.js/pull/875#ref-pullrequest-178704615
Plotly.update in update menus #972 https://github.com/plotly/plotly.js/pull/972
https://github.com/cldougl
cldouglhttps://github.com/cldougl
Sep 22, 2016 https://github.com/plotly/plotly.js/pull/875#ref-issue-178707294
add Plotly.update doc plotly/documentation#539 https://github.com/plotly/documentation/issues/539
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F875
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
feature https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature
v1.17.0 https://github.com/plotly/plotly.js/milestone/8
Should we add a Plotly.update method? https://github.com/plotly/plotly.js/issues/671
Please reload this pagehttps://github.com/plotly/plotly.js/pull/875
https://github.com/etpinard
https://github.com/VeraZab
https://github.com/mdtusz
https://github.com/theengineear
https://github.com/rreusser
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.