
Open-source JavaScript charting library behind Plotly and Dash
Repo plotly/plotly.js, read from GitHub 1 min ago. plotly has not joined Take My Repo.
domainpad to cartesian axes to reserve space in pixels inside the edges of domain, so the gap between subplots stays the same at all figure sizes [#7965], with thanks to @SharadhNaidu for the contribution!Plotly.react and Plotly.relayout with a whole axis object ignoring a new range on an axis with constrain: 'domain' [#8144], with thanks to @Roshan1299 for the contribution!tickprefix and ticksuffix to tickvals without explicit ticktext [#8160], with thanks to @davrens101 for the contribution!layout.legend.itemheight to set the height of the legend fill swatch, so more of a trace fillpattern is visible in the legend [#7925], with thanks to @MannXo for the contribution!node.x/node.y positions in Sankey traces that contain unlinked or grouped nodes [#7826], with thanks to @kyo5uke for the contribution!ticklabelindex on period axes [#7934], with thanks to @my-tien for the contribution!ticklabelindex [#7935], with thanks to @my-tien for the contribution!marker.pattern arrays [#8039], with thanks to @Dmao233 for the contribution!javascript: URLs in MathJax \href macros by sanitizing links in MathJax-rendered text [#8051], with thanks to @SergeyAxiomaticscattergl plot to freeze up when hovering over points [#8052], with thanks to @emilykl for the contribution!marker.color array [#8069], with thanks to @Yahiro025 for the contribution!scattergl [#8071]hoverlabel.align so that it aligns the item text in x unified and y unified hover labels [#8104], with thanks to @MannXo for the contribution!Plotly.relayout, Plotly.restyle, Plotly.update, and the plotly_relayout event accept attribute paths such as 'xaxis.autorange' [#8126]
LayoutUpdate and DataUpdate types for these update objects(root, attribute, value) call form to the types of Plotly.relayout and Plotly.restylepercentTotal text formatting to display formatted percentages instead of raw ratios [#8139], with thanks to @ORITOMI for the contribution!ResizeObserver for responsive chart resizing instead of listening for window resize events [#8017], with thanks to @Lexachoc for the contribution!config.toImageButtonOptions in the plot schema [#8066]color or activecolor changes [#8024], with thanks to @Lexachoc for the contribution!format now accepts full-json, width and height accept null, and ToImgopts.format, ToImgopts.width, ToImgopts.height and DownloadImgopts.filename are optional because toImage and downloadImage supply them [#8066]scattergl and splom (matching scatter) [#8079]arrayOk number and color attributes [#8087]maplibre-gl to v6 to address CVE-2026-85061 [#8035]
maplibre-gl v6 dropped WebGL1 support, so some older browsers won't be able to use the map traces. Safari 15, Chrome 56, Firefox 51 and later are now required for the map traces.scattermap points are now supported on a rotated or pitched map [#8035]legend.groupdoubleclick to set the group behavior for a legend double-click [#7997], with thanks to @rascal-sl for the contribution!showspikes axis attribute description to clarify that it applies for all hovermode values except when hovermode is false [#7981], with thanks for @CAOShurong for the contribution!src/ to JavaScript during packaging to fix Node resolution [#8000]lib/ entry points [#8009]scattergl, quiver traces [#8027]minscale, maxscale geo plot attributes [#7371], with thanks to @mojoaxel for the contribution!quiver trace type to visualize vector fields using arrows [#7710, #7945], with thanks to @degzhaus for the contribution!direction attribute to the Sankey trace, controlling the flow direction along the orientation axis [#7870], with thanks to @wf-r for the contribution!
forward keeps sources on the left (horizontal) or top (vertical)reversed moves them to the right or bottomsort option to Sankey links and nodes [#7873], with thanks to @adamreeve for the contribution!xPixel and yPixel keys to hover and click event data, corresponding to the pixel position of the cursor relative to the top-left corner of the graph div [#7966]hoveranywhere is enabled, emit a plotly_unhover event when the cursor leaves the plot area [#7966]scattermapbox, choroplethmapbox, densitymapbox trace types, the mapbox subplot, and the mapboxAccessToken config option [#7860]
*map traces going forward.showLink, linkText, sendData, showSources, and showEditInChartStudio, as well as trace attribute stream, since all of these were associated with Chart Studio and are no longer needed [#7812]*src attributes, as well as layout.hidesources attribute, from the schema [#7829]trace._fullInput property and other dead code related to the removed transforms feature. No user-facing changes expected [#7834]rgb()/rgba() strings with decimal 0–1 fractions are no longer interpreted as percentage values (relative to 255)hsv() color strings are no longer permitted#ff0000aa, #f00a, rgb(255 0 0), rgba(255 0 0 / 0.5), hsl(0 100% 50% / 0.5), hsla(0, 100%, 50%, 0.5), lab(), lch(), oklab(), oklch(), color(), hsl(0.5turn 60% 40%), hsl(none 60% 40%)rgb() now accepts an optional alpha, so rgb(255, 0, 0, 0.5) is no longer opaque (rgb and rgba are aliases per spec)hsl(120, 50% 50%)layout.axis.tickmode to 'sync' when axis is overlaying [#7684]splom.axis.matches default from false to true [#7843]country-regex with country-iso-search to search for country names in choropleth, scattergeo traces [#7856]
layout.geo.fitbounds default from false to 'locations' [#7895]
geo subplots will now auto-fit the initial view to the trace datafitbounds: false explicitly to opt outxvals / yvals in hoveranywhere and clickanywhere events. Date and category axes will now return strings rather than numeric values. Linear and log axis values remain unchanged. [#7964]scattermap icons to render in color, upgrade Maki icons version to 8.2, and standardize scattermap legend icons to circles [#7825]plots.graphJson() function to remove mode argument [#7829]plotly/d3-sankey to 0.12.3. [#7830], with thanks to @adamreeve for the contribution!plot_config to show the "Upload to Cloud" button by default, and set the default server URL to cloud.plotly.com via [#7909]histogram autobin size for single-point traces in overlay mode on data updates via Plotly.react [#7507], with thanks to @Lexachoc for the contribution!sum descending) with null coordinates [#7855]scattermap, densitymap traces not showing all points by dynamically computing center, zoom values [#7884, #7913], with thanks to @palmerusaf and @DhruvGarg111 for the contributions!choropleth and scattergeo traces whose geometry crosses the antimeridian [#7891]hovertemplate/texttemplate/tickformat/hoverformat improperly handling d3-format specs that start with a sign flag such as +.2f [#7900], with thanks to @TemRevil for the contribution!tickformat (e.g. "~r") no longer shows floating-point artifacts [#7901], with thanks to @arieleli01212 and @kirthi-b for the contribution!scattermap box and lasso selection across the antimeridian [#7905], with thanks to @coyaSONG for the contribution!geo.fitbounds: 'locations' when mixing antimeridian-crossing territories with normal ones [#7948]