Recent Releases of plotly.js
plotly.js - v3.1.0
Added
- Add property
zerolinelayerto cartesian axes to allow drawing zeroline above traces [#7269] - Add
pattern.pathattribute as an alternative to the presetpattern.shapevalues, so you can use any SVG path string as a pattern fill. [#7280] - Allow configuration of horizontal legend max height [#7359]
- Add
modebardisableattribute to cartesian axes, to allow fine control over which buttons affect which axes [#7358] - Add support for ticklabelposition "inside"/"outside" for category axes with
ticksonset to "boundaries" [#7420], with thanks to @my-tien for the contribution! - Add
unifiedhovertitle.textto format unified hover titles [#7439] - Add
layout.hoverlabel.showarrow(andtrace.hoverlabel.showarrow) attribute to allow hiding the triangular caret that appears on the hover label box [#7451] - Add
minorloglabelsto cartesian axes [#7468] - Make modebar keyboard-accessible via tabbing [#7492], with thanks to @davidangarita1 for the contribution!
Changed
- Switch to United Nations (coastlines, countries, land, ocean) + Natural Earth (lakes, rivers, subunits) geodata for building topojson used in geo plot [#7393]
- Make 'png' all caps [#7400]
- Refactor files related to UN topojson [#7481]
- Update default
topojsonURLto point to new UN topojson [#7514] - Add breaking change warning for country names
locationmodeoption in choropleth, scattergeo plots [#7514]
Fixed
- Fix performance warning in scattergl traces, [#7390], with thanks to @MzyzzG for the contribution!
- Move css-loader and other dependencies into devDependencies section [#7407]
- Fix hidden ticklabels taking up plot space [#7417]
- Fix editable shapes (regression introduced in 2.34.0) [#7470], with thanks to @my-tien for the contribution!
- Update legend maxheight calculation logic [#7483]
- Fix hover event not triggered on consecutive empty bins (count=0) with
hovermode:'x'for histogram [#7503], with thanks to @Lexachoc for the contribution! - Remove form-data nested dependency associated with CVE-2025-7783 [#7514], with thanks to @KyleBoyer for the contribution!
- JavaScript
Published by camdecoster 10 months ago
plotly.js - v3.1.0-rc.1
Added
- Add modebardisable attribute to cartesian axes, to allow fine control over which buttons affect which axes [#7358]
- Add
unifiedhovertitle.textto format unified hover titles [#7439] - Add
layout.hoverlabel.showarrow(andtrace.hoverlabel.showarrow) attribute to allow hiding the triangular caret that appears on the hover label box [#7451] - Add
minorloglabelsto cartesian axes [#7468] - Make modebar keyboard-accessible via tabbing [#7492], with thanks to @davidangarita1 for the contribution!
Changed
- Refactor files related to UN topojson [#7481]
Fixed
- Fix hidden ticklabels taking up plot space [#7417]
- Fix editable shapes (regression introduced in 2.34.0) [#7470], with thanks to @my-tien for the contribution!
- JavaScript
Published by camdecoster 11 months ago
plotly.js - v3.0.2
Fixed
- Fix installing dependencies in node v22 [#7381], with thanks to @chaigh-uk for the contribution!
- Fix Persian calendar leap year [#7456]
- Fix scroll wheel zoom for geo subplots in Safari [#7474]
- Add method to check for WebKit WebView user agent string [#7479]
- Fix edit colorbar title [7487]
- JavaScript
Published by camdecoster 11 months ago
plotly.js - v3.1.0-rc.0
Added
- Add property
zerolinelayerto cartesian axes to allow drawing zeroline above traces [#7269] - Add
pattern.pathattribute as an alternative to the presetpattern.shapevalues, so you can use any SVG path string as a pattern fill. [#7280] - Allow configuration of horizontal legend max height [#7359]
- Add support for ticklabelposition "inside"/"outside" for category axes with
ticksonset to "boundaries" [#7420], with thanks to @my-tien for the contribution!
Changed
- Switch to United Nations (coastlines, countries, land, ocean) + Natural Earth (lakes, rivers, subunits) geodata for building topojson used in geo plot [#7334]
- Make 'png' all caps [#7400]
Fixed
- Fix installing dependencies in node v22 [#7381], with thanks to @chaigh-uk for the contribution!
- Fix performance warning in scattergl traces, [#7390], with thanks to @MzyzzG for the contribution!
- Move css-loader and other dependencies into devDependencies section [#7407]
- Fix Persian calendar leap year [#7456]
- JavaScript
Published by camdecoster 11 months ago
plotly.js - v3.0.1
Changed
- Update
color-rgbafrom 2.1.1 to 3.0.0 to fix hsl color conversion bug [#7325]
Fixed
- Fix click event handling for plots in shadow DOM elements [#7357]
- Fix hoverlabels and other text labels with null values templated in [#7360]
- Fix importing plotly.js via require on pages with AMD [#7367]
- Update Romanian locale [#7351]
- Update Italian locale [#4425]
- Update Turkish locale [#7352]
- JavaScript
Published by emilykl over 1 year ago
plotly.js - v3.0.0
Removed
- Drop support for passing a string to the
titleattribute, and drop support for deprecated attributestitlefont,titleposition,titleside, andtitleoffset(usetitle.text,title.font,title.side,title.offsetinstead)[#7212] - Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213]
Drop support for deprecated
bardirattribute (useorientationinstead) [#7214] - Drop support for deprecated
annotation.refattribute (useannotation.xrefandannotation.yrefinstead) [#7215] - Drop support for deprecated error bar
opacityattribute (use alpha channel of error barcolorattribute instead) [#7214] - Drop support for deprecated attribute
gl3d.cameraposition(usegl3d.camerainstead) [#7217] - Drop deprecated
plot3dPixelRatiofrom config [#7231] - Drop deprecated
zauto,zminandzmaxfrom the surface trace [#7234] - Drop deprecated
autotickattributes from cartesian axes [#7236] - Drop
transformsfrom the API [#7240, #7254] - Drop jQuery events support [#7224]
- Drop the AMD support from the bundle header [#7229]
Changed
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
- Node v18 required for development [#7116]
- Cleanup remaining code that was there to support the Internet Explorer [#7251]
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]
Fixed
- Remove inline styles that break plots in strict CSP setups [#7109], with thanks to @martian111 for the contribution!
- Allow null or broken selection objects without throwing an error [#7164]
- Render scatterternary traces correctly if they have the
idsattribute [#7164] - Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [#7199]
- Fix source map of the mablibre dependency [#7204]
- Fix years in license [#7205]
- Maintain layout images element identity based on coordinates, for smoother updates when you add or remove images early in the list. [#7277]
- Fix handling of new domain values given in the Plotly.react function to prevent loss of new domain values. [#7283]
- Fix distortions in sankey diagram links loops [#7272], with thanks to @giuseppe-straziota for the contribution!
- Performance improvement for scattergl traces with many points [#7301], with thanks to @giuseppe-straziota for the contribution!
- Set height and width on the
.plotly-containerdiv to 100% to fix gl3d rendering in Dash Enterprise apps [#7313]
- JavaScript
Published by alexcjohnson over 1 year ago
plotly.js - v3.0.0-rc.2
Removed
- Drop support for passing a string to the
titleattribute, and drop support for deprecated attributestitlefont,titleposition,titleside, andtitleoffset(usetitle.text,title.font,title.side,title.offsetinstead)[#7212] - Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213]
Drop support for deprecated
bardirattribute (useorientationinstead) [#7214] - Drop support for deprecated
annotation.refattribute (useannotation.xrefandannotation.yrefinstead) [#7215] - Drop support for deprecated error bar
opacityattribute (use alpha channel of error barcolorattribute instead) [#7214] - Drop support for deprecated attribute
gl3d.cameraposition(usegl3d.camerainstead) [#7217] - Drop deprecated
plot3dPixelRatiofrom config [#7231] - Drop deprecated
zauto,zminandzmaxfrom the surface trace [#7234] - Drop deprecated
autotickattributes from cartesian axes [#7236] - Drop
transformsfrom the API [#7240, #7254] - Drop jQuery events support [#7224]
- Drop the AMD support from the bundle header [#7229]
Changed
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
- Node v18 required for development [#7116]
- Cleanup remaining code that was there to support the Internet Explorer [#7251]
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]
Fixed
- Remove inline styles that break plots in strict CSP setups [#7109], with thanks to @martian111 for the contribution!
- Allow null or broken selection objects without throwing an error [#7164]
- Render scatterternary traces correctly if they have the
idsattribute [#7164] - Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [#7199]
- Fix source map of the mablibre dependency [#7204]
- Fix years in license [#7205]
- Maintain layout images element identity based on coordinates, for smoother updates when you add or remove images early in the list. [#7277]
- Fix handling of new domain values given in the Plotly.react function to prevent loss of new domain values. [#7283]
- Fix distortions in sankey diagram links loops [#7272], with thanks to @giuseppe-straziota for the contribution!
- Performance improvement for scattergl traces with many points [#7301], with thanks to @giuseppe-straziota for the contribution!
- Set height and width on the
.plotly-containerdiv to 100% to fix gl3d rendering in Dash Enterprise apps [#7313]
- JavaScript
Published by archmoj over 1 year ago
plotly.js - 3.0.0-rc.1
Removed
- Drop support for passing a string to the
titleattribute, and drop support for deprecated attributestitlefont,titleposition,titleside, andtitleoffset(usetitle.text,title.font,title.side,title.offsetinstead)[#7212] - Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213]
Drop support for deprecated
bardirattribute (useorientationinstead) [#7214] - Drop support for deprecated
annotation.refattribute (useannotation.xrefandannotation.yrefinstead) [#7215] - Drop support for deprecated error bar
opacityattribute (use alpha channel of error barcolorattribute instead) [#7214] - Drop support for deprecated attribute
gl3d.cameraposition(usegl3d.camerainstead) [#7217] - Drop deprecated
plot3dPixelRatiofrom config [#7231] - Drop deprecated
zauto,zminandzmaxfrom the surface trace [#7234] - Drop deprecated
autotickattributes from cartesian axes [#7236] - Drop
transformsfrom the API [#7240, #7254] - Drop jQuery events support [#7224]
- Drop the AMD support from the bundle header [#7229]
Changed
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
- Node v18 required for development [#7116]
- Cleanup remaining code that was there to support the Internet Explorer [#7251]
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]
Fixed
- Remove inline styles that break plots in strict CSP setups [#7109], with thanks to @martian111 for the contribution!
- Allow null or broken selection objects without throwing an error [#7164]
- Render scatterternary traces correctly if they have the
idsattribute [#7164] - Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [#7199]
- Fix source map of the mablibre dependency [#7204]
- Fix years in license [#7205]
- Maintain layout images element identity based on coordinates, for smoother updates when you add or remove images early in the list. [#7277]
- Fix handling of new domain values given in the Plotly.react function to prevent loss of new domain values. [#7283]
- JavaScript
Published by archmoj over 1 year ago
plotly.js - v2.35.0
Added
- Add new traces: scattermap, choroplethmap and densitymap and map subplots which use maplibre to render maps [#7015, #7060, #7085, #7088, #7090, #7092, #7094, #7134], with thanks to @birkskyum for the contribution!
Changed
- Deprecate mapbox traces and mapbox subplot [#7087]
- Drop obsolete
npm v6installation [#7095] - Use
Node.js v18andnpm v10in development [#7078] - Update npm lockfile to v3 [#7099]
- Update turf to v7 [#7116]
Fixed
- Fix centroid calculation in turf [#7115], with thanks to @birkskyum for the contribution!
- Fix missing cursor for Ternary Plot[#7057], with thanks to @Lexachoc for the contribution!
- Elaborate on the Custom Bundle guide [#7101]
- JavaScript
Published by archmoj almost 2 years ago
plotly.js - v2.34.0
Added
- Add
subtitleattribute tolayout.titleto enable adding subtitles to plots [#7012] - Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [#7043]
- Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to
category_orderon cartesian axes [#6223], with thanks to @acxz and @prabhathc for the contribution! - Add axis property
ticklabelindexfor drawing the label for each minor tick n positions away from a major tick, with thanks to @my-tien for the contribution! [#7036] - Add property
ticklabelstandoffandticklabelshiftto cartesian axes to adjust positioning of tick labels, with thanks to @my-tien for the contribution! [#7006] - Add
x0shift,x1shift,y0shift,y1shiftto shapes to add control over positioning of shape vertices on (multi-)category axes, with thanks to @my-tien for the contribution! [#7005]
Fixed
- Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [#7018], with thanks to @eiriklv for the contribution!
- Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [#6954], with thanks to @mbant for the contribution!
- Fix adding cartesian "togglehover" when included in
modebar.add[#5879], with thanks to @Sizurka for the contribution! - Handle
zorderbetween overlaying cartesian subplots [#7032], This feature was anonymously sponsored: thank you to our sponsor!
- JavaScript
Published by archmoj almost 2 years ago
plotly.js - v2.33.0
Added
- Add support for numeric text font
weight[#6990] - Add
shadow,linepositionandtextcaseoptions to SVG fonts [#6983]
Fixed
- Fix unicode variable names in @plotly/d3 [#6992], with thanks to @GeorchW for the contribution!
- Fix
getFullTransformMatrixin shadow DOM [#6996], with thanks to @OpportunityLiu for the contribution! - Fix drag on legend scrollbar while
edits.legendPositionistrue[#6997], with thanks to @OpportunityLiu for the contribution! - Fix numerical instability in 3D plots [6998], with thanks to @hborchardt for the contribution!
- Fix numerical precision of drawing surface trace [6999], with thanks to @hborchardt for the contribution!
- Fix isosurface maximum value calculation when
isomaxis set to null [#7002]
- JavaScript
Published by archmoj about 2 years ago
plotly.js - v2.32.0
Added
- Add "bold" weight, "italic" style and "small-caps" variant options to fonts [#6956]
Fixed
- Fix applying
autotickangleson axes withshowdividersas well as cases whereticksonis set to "boundaries" [#6967], with thanks to @my-tien for the contribution! - Fix positioning of multi-line axis titles with
standoff[#6970], with thanks to @my-tien for the contribution!
- JavaScript
Published by archmoj about 2 years ago
plotly.js - v2.31.1
Fixed
- Maintain original drawing order of traces when traces with similar type are sent to back [#6962]
- Ensure winning points of hover are listed first when hoversubplots is set to "axis" and sorting by distance [#6963]
- Fix duplicated points in splom hover when
hoversubplotsis set to "axis" [#6965]
- JavaScript
Published by archmoj about 2 years ago
plotly.js - v2.31.0
Added
- Add
zorderattribute to various cartesian traces for controlling stacking order of SVG traces drawn into a subplot [#6918, #6953]. This feature was anonymously sponsored: thank you to our sponsor! - Add "between" option to shape layer for placing them above grid lines and below traces [#6927], with thanks to @my-tien for the contribution!
- Add "raw"
sizemodeto cone trace [#6938] - Add
layout.hoversubplotsto enable (x|y) and unified hover effects across multiple cartesian suplots sharing one axis [#6947, #6950]
Changed
- Regenerate
stackgl_modules/index.jsusing updated dependencies [#6937]
Fixed
- Fix hover count in parcats trace [#6944], with thanks to @weiweikee for the contribution!
- JavaScript
Published by archmoj about 2 years ago
plotly.js - v2.30.1
Fixed
- Fix centering multi-line headers for treemap traces [#6923]
- Fix heatmap text color and
texttemplateon cells with missing data [#6924] - Fix scattergl rendering when colors include capital letters [#6928], with thanks to @28raining and @dy for the contribution!
- JavaScript
Published by archmoj over 2 years ago
plotly.js - v2.30.0
Added
- Add fill gradients for scatter traces [#6905], with thanks to @lumip for the contribution!
- Add
indentationto legend [#6874], with thanks to @my-tien for the contribution!
Fixed
- Fix tooltip pointer position [#6901], with thanks to @OBe95 for the contribution!
- Fix standoff position [#6889, #6914], with thanks to @ayjayt for the contribution!
- Fix resizing
pieandfunnelareatraces when textinfo is set to "none" [#6893], with thanks to @robbtraister for the contribution! - Fix
insiderangeon category axes [#6910] - Fix display of "boundaries"
ticksonwhentickmodeis set to "array" [#6912]
- JavaScript
Published by archmoj over 2 years ago
plotly.js - v2.29.0
Added
- Add
layout.barcornerradiusandtrace.marker.cornerradiusproperties to support rounding the corners of bar traces [#6761], with thanks to Displayr for sponsoring development! - Add
autotickanglesto cartesian and radial axes [#6790], with thanks to @my-tien for the contribution!
Changed
- Improve hover detection for for scatter plot fill tonext* [#6865], with thanks to @lumip for the contribution!
- Improve rendering of heatmap bricks for log-scale axes [#5991], with thanks to @andrew-matteson for the contribution!
- Adjust Sankey trace to allow user-defined link hover style override [#6864], with thanks to @TortoiseHam for the contribution!
- Adjust 'decimal' and 'thousands' formats for Brazilian Portuguese locale file [#6866], with thanks to @pazuza for the contribution!
Fixed
- Fix modifying selections on traces on overlaying axes [#6870]
- JavaScript
Published by archmoj over 2 years ago
plotly.js - 2.28.0
Added
- Add
alignoption to sankey nodes to control horizontal alignment [#6800], with thanks to @adamreeve for the contribution! - Add the possibility of loading "virtual-webgl" script for WebGL 1 to help display several WebGL contexts on a page [#6784], with thanks to @greggman for the contribution!
- Add options to use base64 encoding (
bdata) andshape(for 2 dimensional arrays) to declare various typed arrays i.e.dtype=(float64|float32|int32|int16|int8|uint32|uint16|uint8)[#5230]
Fixed
- Fix scattergl rendering bug on M1 mac devices [#6830], with thanks to @justinjhendrick for the contribution!
- Fix hovering over sankey node only fully highlights first trace [#6799], with thanks to @DominicWuest for the contribution!
- Fix error when the mouse moves to x=0 while dragging a rangeslider [#6780], with thanks to @david-bezero for the contribution!
- Fix duplicated of major and minor ticks in calc data [#6829], with thanks to @ayjayt for the contribution!
- Fix charset test dashboard [#6826], with thanks to @ayjayt for the contribution!
- Fix range defaults to take into account
minallowedandmaxallowedvalues of the axis [#6796] - Fix
scattergllegend whenmarker.angleis an array [#6787] - Fix plot schema not to show
line.shapeoptions forscatterpolargltrace [#6781]
- JavaScript
Published by archmoj over 2 years ago
plotly.js - v2.27.0
Added
- Add
insiderangeto cartesian axes to help avoid overlap between visible grid lines and tick labels of the counter axis when they are positioned inside [#6735], this feature was anonymously sponsored: thank you to our sponsor!
Fixed
- Fix column order changes on hover [#6718], with thanks to @bhavinpatel1109 for the contribution!
- Fix hover at timestamp '1970-01-01 00:00:00' [#6752], with thanks to @adamjhawley for the contribution!
- Fix clearing empty
candlestickusing react [#6757]
- JavaScript
Published by archmoj over 2 years ago
plotly.js - v2.26.2
Fixed
- Fix range interactions affecting partial ranges in other subplots [#6743]
- Fix to emit
plotly_clickevent on touchscreens with "select"dragmode[#6724]), with thanks to @lvlte for the contribution! - Fix error display for failing builds [#6739], with thanks to @dmt0 for the contribution!
- Use the "willReadFrequently" 2d context creation attribute to optimize readback performance for heat map traces [#6741], with thanks to @bebeal for the contribution!
- JavaScript
Published by archmoj over 2 years ago
plotly.js - v2.26.1
Fixed
- Fix horizontal title alignment [#6725], with thanks to @28raining for the contribution!
- Fix single-point histogram when user has provided bin widths [#6725], with thanks to @28raining for the contribution!
- Fix to allow custom
plotly_legenddoubleclickhandlers to execute even when the defaultplotly_legendclickevent is cancelled (returns false) [#6727], with thanks to @andrej-vasilj for the contribution! - Fix Finnish translation for "Download plot" in
filocale [#6723], with thanks to @wkmor1 for the contribution! - Fix Czech number separators in
cslocale [#6734], with thanks to @vlastimil-dolejs for the contribution!
- JavaScript
Published by archmoj over 2 years ago
plotly.js - v2.26.0
Added
- Add "min", "max", "min reversed" and "max reversed" autorange options and handle partial ranges (i.e. one end being null), add
autorangeoptions(clipmin,clipmax,minallowed,maxallowed,include) as well asminallowedandmaxallowedto cartesian, gl3d and radial axes [#6547] - Add [n]-sigma (std deviations) box plots as an alternative to quartiles [#6697], with thanks to @28raining for the contribution!
- Add "top left" & "top center" side options to legend title [#6711], with thanks to @28raining for the contribution!
- Add "false" option to
scaleanchorto allow removing a constraint that is set by default [#6712], with thanks to @lvlte for the contribution!
- Add "false" option to
- JavaScript
Published by archmoj almost 3 years ago
plotly.js - v2.25.0
Added
- Add "Equal Earth" projection to geo subplots [#6670], with thanks to @apparebit for the contribution!
- Add options to include legends for shapes and
newshape[#6653] - Add Plotly.deleteActiveShape command [#6679]
Fixed
- Fix contour plot colorscale domain (take account of
zmin,zmax,cminandcmax) [#6625], with thanks to @lvlte for the contribution! - Fix text markers on non-mapbox styled maps [#6652], with thanks to @baurt for the contribution!
- Fix unhide isolated traces in multi legend cases (regression introduced in 2.24.3) [#6684]
- JavaScript
Published by archmoj almost 3 years ago
plotly.js - v2.24.3
Fixed
- Fix double clicking one item in a legend hides traces in other legends [#6655]
- Fix double click pie slices when having multiple legends [#6657]
- Fix per legend group and traceorder defaults when having multiple legends [#6664]
- JavaScript
Published by archmoj almost 3 years ago
plotly.js - v2.24.0
Added
- add pattern to pie, funnelarea, sunburst, icicle and treemap traces [#6601, #6619, #6622, #6626, #6627, #6628, #6629], with thanks to @thierryVergult for the contribution!
Fixed
- Fix to prevent accessing undefined (hoverText.hoverLabels) in case all currently shown markers have hoverinfo: "none" (regression introduced in 2.6.0) #6614, with thanks to @Domino987 for the contribution!
- Fix to ensure only minimum margin spacing is added for container-referenced legends and colorbars [#6616]
- JavaScript
Published by archmoj about 3 years ago
plotly.js - v2.23.2
Fixed
- Fix text rendering while drawing new shapes [#6608], with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development!
- JavaScript
Published by archmoj about 3 years ago
plotly.js - v2.23.0
Added
- Add
legend.xrefandlegend.yrefto enable container-referenced positioning of legends [#6589], with thanks to Gamma Technologies for sponsoring the related development. - Add
colorbar.xrefandcolorbar.yrefto enable container-referenced positioning of colorbars [#6593], with thanks to Gamma Technologies for sponsoring the related development.
Changed
- Improve heatmap rendering performance when
zsmoothis set to false [#6574], with thanks to @lvlte for the contribution!
- JavaScript
Published by archmoj about 3 years ago
plotly.js - v2.22.0
Added
- Add
legendreferences to traces andlegend2,legend3, etc. to layout, also addvisibleto legend i.e. to allow positioning multiple legends on a graph [#6535], this feature was anonymously sponsored: thank you to our sponsor!
Changed
- Update Norwegian translations in
nolocale [#5410], with thanks to @bjornol for the contribution! - Update Slovak translations and number formats in
sklocale [#6580], with thanks to @Libco for the contribution!
Fixed
- Fix
plotly_clickin gl3d scenes to fire on touch devices [#6563], with thanks to @NickTominaga for the contribution! - Fix scatter3d when
marker.opacityis set to zero [#6581], with thanks to @dmyronuk for the contribution! - Fix scattermapbox visibility restyle [#6567]
- JavaScript
Published by archmoj about 3 years ago
plotly.js - v2.21.0
Added
- Add
label.texttemplateto parametric shapes i.e. line, rect and circle [#6527], with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development! - Add strict option to custom bundle command [#6557], with thanks to @CallumNZ for the contribution!
Fixed
- Fix dragging of legend when xanchor is not 'left' or yanchor is not 'top' [#6528], with thanks to @bmaranville for the contribution!
- Fix heatmap rendering bug and improve performance when
zsmoothis set to "fast" [#6565], with thanks to @lvlte for the contribution!
- JavaScript
Published by archmoj about 3 years ago
plotly.js - v2.20.0
Added
- Add
title.automarginto enable automatic top and bottom margining for both container and paper referenced titles [#6428], with thanks to Gamma Technologies for sponsoring the related development.
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.19.0
Added
- Add
labelattribute to shapes [#6454], with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development! - Add
labelaliasto various axes namely cartesian, gl3d, polar, smith, ternary, carpet, indicator and colorbar [#6481], this feature was anonymously sponsored: thank you to our sponsor!
Changed
- Upgrade
is-mobiledependency [#6517]
Fixed
- Avoid overlap of point and axis hover labels for
hovermode: 'x'|'y'[#6442], with thanks to @dagroe for the contribution!
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.18.2
Fixed
- Avoid attaching internal d3 object to the window (regression introduced in 2.17.0) [#6487]
- Correct the order of lower fence and upper fence in the French locale (fr) [#6476], with thanks to @Gagaro for the contribution!
- Correct formats in the Peruvian locale (es-pe) [#6451], with thanks to @andresrcs for the contribution!
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.18.1
Changed
- Bump
d3-interpolateandd3-colorto v3 to address audit warnings [#6463]
Fixed
- Fix scaling of exports e.g. the SVG format by not adding
vector-effectCSS to static plots [#6445] - Fix hover on IE (regression introduced in 2.5.0) [#6466]
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.18.0
Added
- Add
synctickmode option [#6356, #6443], with thanks to @filipesantiagoAM and @VictorBezak for the contribution!
Changed
- Improve detection of mobile & tablet devices for WebGL rendering by upgrading
is-mobile[#6432]
Fixed
- Fix library's imported name using
requirejsAMD loader (regression introduced in 2.17.0) [#6440]
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.17.0
Added
- Add
shiftandautoshiftto cartesian y axes to help avoid overlapping of multiple axes [#6334], with thanks to Gamma Technologies for sponsoring the related development! - Introduce group attributes for
scattertrace i.e.alignmentgroup,offsetgroup,scattermodeandscattergap[#6381], this feature was anonymously sponsored: thank you to our sponsor! - Add
marker.cornerradiusattribute totreemaptrace [#6351]
Changed
- Change bundler from browserify to webpack [#6355]
Fixed
- Fix auto
backoffwhen marker symbols and sizes are arrays [#6414] - Avoid displaying resize cursor on static sliders [#6397]
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.15.0
Added
- Add
angle,anglerefandstandofftomarkerand addbackofftoline; also introduce new arrow symbols to facilitate drawing networks [#6297] - Add
minreducedwidthandminreducedheightto layout for increasing control over automargin [#6307] - Add
entrywidthandentrywidthmodeto legend [#6202, #6324]
Changed
- Use valType of
angleforrotationinpie[#6304]
Fixed
- Fix mapbox
touch eventafter switching back from select mode [#6281], with thanks to @mmtmr for the contribution! - Fix automargin to update axis titles in redraws [#6312]
- Fix exporting patterns with transparent color [#6318]
- Fix exporting text on empty slices [#6335]
- Disable interactions for
treemap,icicle,sunburst,pie,funnelarea,parcats,parcoordsandsankeytraces whenstaticPlotis set to true [#6296]
- JavaScript
Published by archmoj over 3 years ago
plotly.js - v2.14.0
Added
- Add support for sankey links with arrows [#6276], with thanks to @Andy2003 for the contribution!
- Add
editSelectionoption to config [#6285]
Changed
- Update dutch translations and fix dateMonth format for
nllocale to confirm with expected nl format [#6261], with thanks to @eirvandelden for the contribution!
- JavaScript
Published by archmoj almost 4 years ago
plotly.js - v2.13.2
Fixed
- Fix
sankeyselect error (regression introduced in 2.13.0) [#6265] - Handle missing drag layer of invisible
sankeytraces to fix select error [#6267] - Emit selection event in shape drawing
dragmodes when an existing selection is modified [#6262]
- JavaScript
Published by archmoj almost 4 years ago
plotly.js - v2.13.0
Added
- Add
selections,newselectionandactiveselectionlayout attributes to have persistent and editable selections over cartesian subplots [#6243] - Add
unselected.line.colorandunselected.line.opacityoptions toparcoordstrace [#6216, #6236] - Add "exclusive" and "inclusive" quartile-computing algorithm to
violintrace viaquartilemethodattribute [#6187] - Add flaglist options including "left", "right", "top", "bottom", "width" and "height"
to control the direction of
automarginon cartesian axes [#6193] - Add
delta.prefixanddelta.suffixtoindicatortrace [#6246], with thanks to @paulovieira for the contribution! - Add official Chinese (Taiwan) translation (locale
zh-tw) [#6247], with thanks to @sec2 for the contribution! - Add official Sinhala translation (locale
si) [#6238], with thanks to @sujithranga for the contribution!
Changed
- Display Plotly's new logo in the modebar [#6232]
Fixed
- Fix undesirable missing hover labels of
box&violintraces [#6189] - Fix
xrefdescription ofshapes[#6194]
- JavaScript
Published by archmoj almost 4 years ago
plotly.js - v2.12.1
Fixed
- Fix for disabling polar rotation when
dragmodeis set to false [#6147], with thanks to @jonfunkhouser for the contribution! - Fix custom modebar buttons mutate the input [#6177]
- Fix various missing and duplicate spaces in plot schema descriptions [#6183]
- JavaScript
Published by archmoj about 4 years ago
plotly.js - v2.12.0
Added
- Add
griddashaxis property to cartesian, polar, smith, ternary and geo subplots and addgriddashandminorgriddashtocarpettrace [6144], with thanks to @njwhite for the contribution! - Implement various options to position and style
minorticks and grid lines on cartesian axis types includingminor.tickmode,minor.tickvals,minor.tickcolor,minor.ticklen,minor.tickwidth,minor.dtick,minor.tick0,minor.nticks,minor.ticks,minor.showgrid,minor.gridcolor,minor.griddashandminor.gridwidth[6166]
Changed
- Use the "willReadFrequently" 2d context creation attribute to optimize readback performance [#6084], with thanks to @junov for the contribution!
Fixed
- avoid drawing blank tick labels on cartesian axes [#6163]
- JavaScript
Published by archmoj about 4 years ago
plotly.js - v2.10.0
Added
- Add support to use version 3 of MathJax and add
typesetMathattribute to config [#6073], with thanks to Equinor for sponsoring the related development! - Add
fillpatternoptions toscattertrace [#6101], with thanks to @s417-lama for the contribution!
- JavaScript
Published by archmoj over 4 years ago
plotly.js - v2.9.0
Added
- Implement
ticklabelstepto reduce labels on 2D axes and colorbars [#6088]
Changed
- Display the version of plotly.js when hovering over the modebar [#6077]
- Various dependency updates as listed under the v2.9.0 milestone
Fixed
- Fix vertical spacing of legend items in horizontal mode [#6094]
- JavaScript
Published by archmoj over 4 years ago
plotly.js - v2.8.0
Added
- Introduce horizontal colorbars [#6024]
- Implement
legend.grouptitlefontandhoverlabel.grouptitlefont[#6040] - Add
texttemplateandtextfonttoheatmapandhistogram2dtraces as well ashistogram2dcontourandcontourtraces whencoloringis set "heatmap" [#6028]
Fixed
- Fix to discard negative values from
piechart post-aggregation instead of during summation [#6051], with thanks to @destiny-wu for the contribution!
- JavaScript
Published by archmoj over 4 years ago
plotly.js - v2.7.0
Added
- Add
texttemplate,textposition,textfont,textangle,outsidetextfont,insidetextfont,insidetextanchor,constraintextandcliponaxistohistogramtrace [#6038]
Changed
- Bump
probe-image-sizemodule to v7.2.2 [#6036]
Fixed
- Fix mapbox derived coordinate for Retina displays [#6039]
- Fix interaction between
uirevisionandautorange. Because we pushautorangeandrangeback intolayout, there can be times it looks like we're applying GUI-driven changes on top of explicit autorange and other times it's an implicit autorange, even though the user's intent was always implicit. This fix treats them as equivalent. [#6046]
- JavaScript
Published by archmoj over 4 years ago
plotly.js - v2.6.0
Added
- Add
smithsubplots and thescattersmithtrace type for displaying Smith charts [#5956, #5992], with thanks to Kitware and @waxlamp for kicking off this effort.
Changed
- Improve drawing the contour lines in non-linear space e.g. on log axes [#5985], with thanks to @andrew-matteson for the contribution!
- Bump eslint to v8 release candidate including fixes for
no-new-functest [#5969]
Fixed
- Fix
npm installproblem fornpm v6users (regression introduced in 2.5.0) [#6004] - Fix unhover event data for gl3d subplots [#5954], with thanks to @dwoznicki for the contribution!
- Fix scatter3d opacity restyle bug [#5958], with thanks to @dwoznicki for the contribution!
- Skip
"hoverinfo": "none"trace display for hover modes [#5854], with thanks to @Domino987 for the contribution! - Display prefix and suffix of invisible polar axes in hover [#5964]
- Reduce calls to
getBoundingClientRectinconvertToTspans[#5976] - Avoid wrapping legend items if already on the first column [#5996]
- Fix horizontal alignment of colorbar in editable mode when
xanchoris set to "center" [#6002] - Fix to improve rendering of graphs with Mathjax on Firefox v82 and higher [#5993]
- JavaScript
Published by archmoj over 4 years ago
plotly.js - v2.5.1
Fixed
- Reduce bundle sizes by updating
surface-nets,robust-determinant,robust-linear-solvemodules [#5934, #5935, #5936] - Update CONTRIBUTING guidelines to use
npm v7andnode.js v16[#5933], with thanks to @sleighsoft for the contribution!
- JavaScript
Published by archmoj over 4 years ago
plotly.js - v2.5.0
Added
- Include
surface,isosurface,volume,streamtube,cone,mesh3d,scatter3d,pointcloudandheatmapglin the "strict" bundle by avoid function generation for these traces at runtime [#5888]
Changed
- Use
node.js v16andnpm v7in development and upgrade the version ofpackage-lock.json[#5922, #5919]
Fixed
- Adjust position of hover in respect to CSS transform [#5916]
- JavaScript
Published by archmoj almost 5 years ago
plotly.js - v2.4.0
Added
- Add
legend.groupclickoptions [#5849, #5906], with thanks to @brussee for the contribution! - Add touch support to
slidercomponent [#5856], with thanks to @keul for the contribution! - Provide
bboxof hover items in event data [#5512]
Changed
- Upgrade
reglmodule from version 1.6.1 to version 2.1.0 [#5870]
Fixed
- Fix invalid call to
lib.promiseErrorin lib.syncOrAsync [#5878], with thanks to @jklimke for the contribution! - Use
hoverlabel.fontfor group titles in unified hover modes [#5895]
- JavaScript
Published by archmoj almost 5 years ago
plotly.js - v2.3.1
Fixed
- Fix period positioned hover to work in different time zones as well as on grouped bars [#5864]
- Use ids from axes when making hover data keys [#5852]
- Do not include regl based traces
parcoords,splom,scatterglandscatterpolarglin the "strict" bundle so that it could be used with CSP without WebGL warning [#5865]
- JavaScript
Published by archmoj almost 5 years ago
plotly.js - v2.3.0
Added
- Add new number formatting and text alignment options by upgrading
d3.formatmethod from d3@v3 to version 1.4.5 ofd3-formatmodule [#5125, #5842] - Add "satellite" and several other projection types to geo subplots [#5801]
- Improve rendering of
scattergl,splomandparcoordsby implementingplotGlPixelRatiofor those traces [#5500]
Changed
- Upgrade
d3.geomethod from d3@v3 to version 1.12.1 ofd3-geomodule and version 2.9.0 ofd3-geo-projectionmodule [#5112] - Upgrade
d3.interpolatemethod from d3@v3 to version 1.4.0 ofd3-interpolatemodule inicicle,indicator,parcats,sunburstandtreemap[#5826] - Upgrade
regl-scatter2d,regl-line2dandregl-error2dmodules to use version 1.1.0 ofto-float32module to improve the performance [#5786], with thanks to @Seranicio for the contribution! - Edit the type of
constraintrangeinparcoordstrace to pass validation [#5673] - Sort object key values in schema [#5813]
- Sort plot-schema and add test to track plot-schema changes [#5776]
- Preview CHANGELOG when building dist on master [#5780, #5808]
- Preview plot-schema changes between releases when building dist on master [#5814]
- Display changes made to package.json between versions and add identical tags to draft bundles created by
publish-distjob on CircleCI [#5815] - Simplify devtool by relying on
XMLHttpRequestinstead ofd3.json[#5832] - Update CONTRIBUTING guidelines on how to submit pull requests and generate new baseline [#5791, [#5792]]
Fixed
- Fix unknown filename when exporting charts using new versions of Safari [#5609, 5838], with thanks to @rlreamy for the contribution!
- Improve README for ES6 module import [#5779], with thanks to @andreafonso for the contribution!
- Position hover in respect to the average of values in (x|y) unified modes (regression introduced in 2.0.0) [#5845]
- Fix hover with period alignment points and improve positioning of spikes and unified hover label in order not to obscure referring data points and fit inside plotting area [#5846]
- Allow clickable legend group titles when group has no pie-like traces [#5771]
- Fix mapbox line text example [#5804]
- Fix links to time format options so that they point to the d3-time-format v2.2.3 applied not the latest [#5818]
- JavaScript
Published by archmoj almost 5 years ago
plotly.js - v2.2.0
Added
- Legend group titles [#5752], this feature was anonymously sponsored: thank you to our sponsor!
- Add half-year directive (%h) for formatting dates and improve descriptions to include extra date formatting options [#5762], this feature was anonymously sponsored: thank you to our sponsor!
Changed
- Modernize the process of creating baselines using Kaleido and improve image & other export test systems [#5724]
- Centralize jsdom utility to return Plotly object in node.js test scripts and use it in generating plot-schema [#5755]
- Bump turf bbox dependency to v6.4.0 [#5747]
- Bump turf area dependency to v6.4.0 [#5748]
- More maintenance work listed under the v2.2.0 milestone
Fixed
- Cache values and patterns in set_convert for axes with
rangebreaksto improve performance [#5659], with thanks to @spasovski for the contribution! - Fix fetching geojson when ES6 import is used to load the library [#5763]
- Correct readme links [#5746]
- JavaScript
Published by archmoj almost 5 years ago
plotly.js - v2.1.0
Added
- Add
icicletrace type [#5546] with thanks to @Kully and @mtwichan of Zyphr for their contribution! - Implement
legendrankattribute in traces [#5591] - Implement
fgopacity,fgcolor& "overlay"fillmodefor bars and handle barpatternandlegendwhenmarker.colorscaleis present [#5733]
Changed
- Replace deprecated node-sass modules with Sass and update plot CSS [#5729]
- Bump
probe-image-sizeto v7.2.1 [#5739] - More maintenance work listed under the v2.1.0 milestone
Fixed
- Fix setting the width of categorical bars & boxes to unit [#5732]
- JavaScript
Published by archmoj almost 5 years ago
plotly.js - v2.0.0
Please see our full release announcement on the Plotly Community Forum: https://community.plotly.com/t/announcing-plotly-js-2-0/53675
Our commitment to semantic versioning requires us to make this next release a major version bump because we are making some backwards-incompatible changes to older and deprecated features (see below), but we see this as a low-risk maintenance release and we expect that the vast majority of users should plan to upgrade without fearing significant issues, including Javascript developers who embed Plotly.js directly in their apps or websites, as well as data scientists using Plotly.js via Plotly.py in a notebook environment, and of course Dash app developers!
Added
- CSP safety: refactored to avoid usage of function constructors from
basic,cartesian,finance,geo, andmapboxpartial bundles and added tests to ensure that they will not again do so in the future [#5359, #5383, #5387], with thanks to Equinor for sponsoring the related development! - Add
strictpartial bundle [#5413, #5444], which includes the maximal subset of the library which does not rely on function constructors - Add
custom-bundlescript to facilitate generation of custom bundles [#5527, #5508, #5605, #5712] - Add mock validation utility [#5653]
- Implement "fast"
zsmoothoption forimagetrace [#5354, #5386], with thanks to @almarklein for the contribution! - Implement various
marker.patternoptions inhistogram,barandbarpolartraces [#5520, #5537] with thanks to @s417-lama for the contribution! - Implement
ticklabeloverflowoptions on cartesian axes and colorbars to drop tick labels going outside div or domain [#5584] - Implement
(x|y|z)hoverformat,(u|v|w)hoverformatandvalueformatto cartesian and gl3d traces [#5563] - Implement "(x|y)other"
hovertemplateoptions to format differing positions in compare and unified modes [#5690] - Add layout and template attributes to facilitate enabling and disabling predefined modebar buttons e.g. shape drawing and "v1hovermode" via
modebar.addandmodebar.remove[#5660]
Removed
- Drop support for old browsers IE9 and IE10 [#5376, #5380, #5460, #5491]
- Stop exporting v3 of d3 under
Plotly.d3[#5400, #5406] - Stop attaching
_has*plot types tofullLayout[#5409] - Stop injecting MathJax config by default [#5514]
- Remove
sane-topojsonand MathJax v2.3 files from dist folder and change supported MathJax version to v2.7.5 [#5487, #5492, #5494] - Reduce the number of exported methods from
Plotly.FxandPlotly.Plotsin the API [#5420] - Drop
Plotly.plotfrom the API [#5412, #5370, #5393] - Drop
Plotly.Queuefrom the API [#5423] - Drop non-object
rolekeys from attribute definition [#5425, #5432] - Drop deprecated
contourglandareatraces as well as deprecated legacy pre-scatterpolarpolar-related attributesbar.t,bar.r,scatter.t,scatter.r,layout.radialaxis,layout.angularaxisandgd.framework[#5399, #5408, #5409, #5398, #5438] - Stop overwriting the "latest" bundles on CDN, please specify the version [#5462, #5697]
Deprecated
- Deprecate
heatmapglandpointcloudtrace types for later removal [#5447] - Deprecate
transformattributes [#5657]
Changed
- No longer show "Aa" text in legends unless there is only text in the legend item [#5682]
- New defaults for
legend.title.fontandcolorbar.title.fontto depend onlegend.fontandcolorbar.tickfontand increase their sizes [#5611] - New defaults for spikes by setting
spikedistanceto "-1" andaxis.spikesnapto "hovered data" [#5648] - Default
hovermodeto "closest" [#5647] - Default
textpositionto "auto" inbar,histogramandwaterfalltraces [#5638] - Hide hover and spike modebar buttons by default while
layout.modebar.addorconfig.modeBarButtonsToAddcould be used to bring them back in [#5654, #5658] - Switch to
native-promise-onlymodule to handle es6 promises [#5358] - Switch to
probe-image-sizemodule to get width and height of images [#5388, #5635] - Relax test for plain objects to enable validation in node.js and multiple window contexts [#5411, #5498]
- Display latitudes before longitudes in mapbox and geo hoverlabels to comply with ISO 6709 (Standard representation of geographic point location by coordinates) [#5485, #5676]
- Adjust text shadow color in respect to
paper_bgcolorfor better dark mode display ofsankey,parcoordsandparcatstraces [#5506] - Improve
sankeytext namely support pseudo-html, fixtextfont.colorand avoid clipping [#5531] - Make selection event data of
scatterglon par withscattertraces [#5534] - Fire
plotly_unhoverevent when dragging [#5407], with thanks to @rreusser for the contribution! - Include transforms and calendars in partial bundles [#5379, #5422]
- Require unminified
mapbox-gldependency for unminified bundles and revisit compression options for minified bundles [#5449] - Remove header comments from the source files and only add headers to the top of dist files at build time [#5436, #5446]
- Guard against unexpected characters at build time [#5424]
- Minimize indentation in plot-schema [#5663]
- More maintenance work listed under the the 60th milestone!
Fixed
- Fix "toself"
fillforscattergltraces to handle multiple polygons [#5355], with thanks to @ruijin for the contribution! - Fix element targeting on hover in shadow DOM [#5256], with thanks to @dbluhm for the contribution!
- Fix hover interaction on geo subplots in Firefox [#5607], with thanks to @LucaVazz for the contribution!
- Improve
scatterglperformance when using typed arrays [#5632], with thanks to @Seranicio for the contribution! - Fix native ES6 import [#5708], with thanks to @oldrich-svec suggestion!
- Hide gridlines and ticks overlapping "inside" ticklabels [#5550, #5586, #5589, #5610, #5684]
- Improve hover in compare and unified modes [#5543, #5618, #5662, #5664, #5668, #5683]
- Fix spike on
bar-like traces [#5542] - Fix
barinside text font color default when using colorscale [#5666] - Fix
texttemplateon log axes [#5622] - Fix displaying zero
thresholdforindicatortrace [#5430] - Fix axis constraints for
heatmapgl[#5476] - Fix setTimeout functions to return in the case of undefined layouts [#5482]
- Fix misinterpreted clip-path by some programs after export [#5686]
- Avoid redundant number casting in
Lib.ensureNumberfunction [#5637] - Avoid duplicate keys in object literals within plotly builds [#5458]
- Revise attributions of Carto, Stamen and Open Street Map styles [#5696]
- Improve attribute compression and avoid redundant copyright comments in non-minified bundles [#5426, #5429, #5439]
- Provide links to all pull requests in the changelog [#5469]
- Provide documention for creating custom bundles and improve readme files [#5702, #5703, #5704, #5705, #5713]
- Provide a link to plotly.js dependencies when publishing various plotly.js-dist packages to npm [#5711]
- Adjust npm publish script to use relevant tag e.g. "rc" when publishing various plotly.js-dist packages [#5467]
- Place CDN publish script inside plotly.js repository [#5468, #5470]
- Fix syntax test on the dist files [#5471]
- JavaScript
Published by archmoj about 5 years ago
plotly.js - v2.0.0-rc.3
Our commitment to semantic versioning requires us to make this next release a major version bump because we are making some backwards-incompatible changes to older and deprecated features (see below), but we see this as a low-risk maintenance release and we expect that the vast majority of users should plan to upgrade without fearing significant issues, including Javascript developers who embed Plotly.js directly in their apps or websites, as well as data scientists using Plotly.js via Plotly.py in a notebook environment, and of course Dash app developers!
Added
- CSP safety: refactored to avoid usage of function constructors from
basic,cartesian,finance,geo, andmapboxpartial bundles and added tests to ensure that they will not again do so in the future [#5359, #5383, #5387], with thanks to Equinor for sponsoring the related development! - Add
strictpartial bundle [#5413, #5444], which includes the maximal subset of the library which does not rely on function constructors - Add
partial-bundlescript to facilitate generation of custom bundles [#5527, #5508, #5605] - Add mock validation utility [#5653]
- Implement "fast"
zsmoothoption forimagetrace [#5354, #5386], with thanks to @almarklein for the contribution! - Implement various
marker.patternoptions inhistogram,barandbarpolartraces [#5520, #5537] with thanks to @s417-lama for the contribution! - Implement
ticklabeloverflowoptions on cartesian axes and colorbars to drop tick labels going outside div or domain [#5584] - Implement
(x|y|z)hoverformat,(u|v|w)hoverformatandvalueformatto cartesian and gl3d traces [#5563] - Implement "(x|y)other"
hovertemplateoptions to format differing positions in compare and unified modes [#5690] - Add layout and template attributes to facilitate enabling and disabling predefined modebar buttons e.g. shape drawing and "v1hovermode" via
modebar.addandmodebar.remove[#5660]
Removed
- Drop support for old browsers IE9 and IE10 [#5376, #5380, #5460, #5491]
- Stop exporting v3 of d3 under
Plotly.d3[#5400, #5406] - Stop attaching
_has*plot types tofullLayout[#5409] - Stop injecting MathJax config by default [#5514]
- Remove
sane-topojsonand MathJax v2.3 files from dist folder and change supported MathJax version to v2.7.5 [#5487, #5492, #5494] - Reduce the number of exported methods from
Plotly.FxandPlotly.Plotsin the API [#5420] - Drop
Plotly.plotfrom the API [#5412, #5370, #5393] - Drop
Plotly.Queuefrom the API [#5423] - Drop non-object
rolekeys from attribute definition [#5425, #5432] - Drop deprecated
contourglandareatraces as well as deprecated legacy pre-scatterpolarpolar-related attributesbar.t,bar.r,scatter.t,scatter.r,layout.radialaxis,layout.angularaxisandgd.framework[#5399, #5408, #5409, #5398, #5438] - Stop overwriting the "latest" bundles on CDN, please specify the version [#5462, #5697]
Deprecated
- Deprecate
heatmapglandpointcloudtrace types for later removal [#5447] - Deprecate
transformattributes [#5657]
Changed
- No longer show "Aa" text in legends unless there is only text in the legend item [#5682]
- New defaults for
legend.title.fontandcolorbar.title.fontto depend onlegend.fontandcolorbar.tickfontand increase their sizes [#5611] - New defaults for spikes by setting
spikedistanceto "-1" andaxis.spikesnapto "hovered data" [#5648] - Default
hovermodeto "closest" [#5647] - Default
textpositionto "auto" inbar,histogramandwaterfalltraces [#5638] - Hide hover and spike modebar buttons by default while
layout.modebar.addorconfig.modeBarButtonsToAddcould be used to bring them back in [#5654, #5658] - Switch to
native-promise-onlymodule to handle es6 promises [#5358] - Switch to
probe-image-sizemodule to get width and height of images [#5388, #5635] - Relax test for plain objects to enable validation in node.js and multiple window contexts [#5411, #5498]
- Display latitudes before longitudes in mapbox and geo hoverlabels to comply with ISO 6709 (Standard representation of geographic point location by coordinates) [#5485, #5676]
- Adjust text shadow color in respect to
paper_bgcolorfor better dark mode display ofsankey,parcoordsandparcatstraces [#5506] - Improve
sankeytext namely support pseudo-html, fixtextfont.colorand avoid clipping [#5531] - Make selection event data of
scatterglon par withscattertraces [#5534] - Fire
plotly_unhoverevent when dragging [#5407], with thanks to @rreusser for the contribution! - Include transforms and calendars in partial bundles [#5379, #5422]
- Require unminified
mapbox-gldependency for unminified bundles and revisit compression options for minified bundles [#5449] - Remove header comments from the source files and only add headers to the top of dist files at build time [#5436, #5446]
- Guard against unexpected characters at build time [#5424]
- Minimize indentation in plot-schema [#5663]
- More maintenance work listed under the the 60th milestone!
Fixed
- Fix "toself"
fillforscattergltraces to handle multiple polygons [#5355], with thanks to @ruijin for the contribution! - Fix element targeting on hover in shadow DOM [#5256], with thanks to @dbluhm for the contribution!
- Fix hover interaction on geo subplots in Firefox [#5607], with thanks to @LucaVazz for the contribution!
- Improve
scatterglperformance when using typed arrays [#5632], with thanks to @Seranicio for the contribution! - Fix native ES6 import [#5708], with thanks to @oldrich-svec suggestion!
- Hide gridlines and ticks overlapping "inside" ticklabels [#5550, #5586, #5589, #5610, #5684]
- Improve hover in compare and unified modes [#5543, #5618, #5662, #5664, #5668, #5683]
- Fix spike on
bar-like traces [#5542] - Fix
barinside text font color default when using colorscale [#5666] - Fix
texttemplateon log axes [#5622] - Fix displaying zero
thresholdforindicatortrace [#5430] - Fix axis constraints for
heatmapgl[#5476] - Fix setTimeout functions to return in the case of undefined layouts [#5482]
- Fix misinterpreted clip-path by some programs after export [#5686]
- Avoid redundant number casting in
Lib.ensureNumberfunction [#5637] - Avoid duplicate keys in object literals within plotly builds [#5458]
- Revise attributions of Carto, Stamen and Open Street Map styles [#5696]
- Improve attribute compression and avoid redundant copyright comments in non-minified bundles [#5426, #5429, #5439]
- Provide links to all pull requests in the changelog [#5469]
- Provide documention for creating custom bundles and improve readme files [##5702, ##5703, ##5704, ##5705]
- Fix syntax test on the dist files [#5471]
- Publish partial bundles using relevant tag from the package e.g.
latestorrc[#5467] - Place CDN publish script inside plotly.js repository [#5468, #5470]
- JavaScript
Published by archmoj about 5 years ago
plotly.js - v2.0.0-rc.2
Our commitment to semantic versioning requires us to make this next release a major version bump because we are making some backwards-incompatible changes to older and deprecated features (see below), but we see this as a low-risk maintenance release and we expect that the vast majority of users should plan to upgrade without fearing significant issues, including Javascript developers who embed Plotly.js directly in their apps or websites, as well as data scientists using Plotly.js via Plotly.py in a notebook environment, and of course Dash app developers!
Added
- CSP safety: refactored to avoid usage of function constructors from
basic,cartesian,finance,geo, andmapboxpartial bundles and added tests to ensure that they will not again do so in the future [#5359, #5383, #5387], with thanks to Equinor for sponsoring the related development! - Add
strictpartial bundle [#5413, #5444], which includes the maximal subset of the library which does not rely on function constructors - Add
partial-bundlescript to facilitate generation of custom bundles [#5527, #5508, #5605] - Add mock validation utility [#5653]
- Implement "fast"
zsmoothoption forimagetrace [#5354, #5386], with thanks to @almarklein for the contribution! - Implement various
marker.patternoptions inhistogram,barandbarpolartraces [#5520, #5537] with thanks to @s417-lama for the contribution! - Implement
ticklabeloverflowoptions on cartesian axes and colorbars to drop tick labels going outside div or domain [#5584] - Implement
(x|y|z)hoverformat,(u|v|w)hoverformatandvalueformatto cartesian and gl3d traces [#5563] - Add layout and template attributes to facilitate enabling and disabling predefined modebar buttons e.g. shape drawing and "v1hovermode" via
modebar.addandmodebar.remove[#5660]
Removed
- Drop support for old browsers IE9 and IE10 [#5376, #5380, #5460, #5491]
- Stop exporting v3 of d3 under
Plotly.d3[#5400, #5406] - Stop attaching
_has*plot types tofullLayout[#5409] - Stop injecting MathJax config by default [#5514]
- Remove
sane-topojsonand MathJax v2.3 files from dist folder and change supported MathJax version to v2.7.5 [#5487, #5492, #5494] - Reduce the number of exported methods from
Plotly.FxandPlotly.Plotsin the API [#5420] - Drop
Plotly.plotfrom the API [#5412, #5370, #5393] - Drop
Plotly.Queuefrom the API [#5423] - Drop non-object
rolekeys from attribute definition [#5425, #5432] - Drop deprecated
contourglandareatraces as well as deprecated legacy pre-scatterpolarpolar-related attributesbar.t,bar.r,scatter.t,scatter.r,layout.radialaxis,layout.angularaxisandgd.framework[#5399, #5408, #5409, #5398, #5438]
Deprecated
- Deprecate
heatmapglandpointcloudtrace types for later removal [#5447] - Deprecate
transformattributes [#5657]
Changed
- No longer show "Aa" text in legends unless there is only text in the legend item [#5682]
- New defaults for
legend.title.fontandcolorbar.title.fontto depend onlegend.fontandcolorbar.tickfontand increase their sizes [#5611] - New defaults for spikes by setting
spikedistanceto "-1" andaxis.spikesnapto "hovered data" [#5648] - Default
hovermodeto "closest" [#5647] - Default
textpositionto "auto" inbar,histogramandwaterfalltraces [#5638] - Hide hover and spike modebar buttons by default while
layout.modebar.addorconfig.modeBarButtonsToAddcould be used to bring them back in [#5654, #5658] - Add major versions e.g. "latest-v2" when publishing latest to CDN and keep "latest" for v1 [#5462]
- Switch to
native-promise-onlymodule to handle es6 promises [#5358] - Switch to
probe-image-sizemodule to get width and height of images [#5388, #5635] - Relax test for plain objects to enable validation in node.js and multiple window contexts [#5411, #5498]
- Display latitudes before longitudes in mapbox and geo hoverlabels to comply with ISO 6709 (Standard representation of geographic point location by coordinates) [#5485, #5676]
- Adjust text shadow color in respect to
paper_bgcolorfor better dark mode display ofsankey,parcoordsandparcatstraces [#5506] - Improve
sankeytext namely support pseudo-html, fixtextfont.colorand avoid clipping [#5531] - Make selection event data of
scatterglon par withscattertraces [#5534] - Fire
plotly_unhoverevent when dragging [#5407], with thanks to @rreusser for the contribution! - Include transforms and calendars in partial bundles [#5379, #5422]
- Require unminified
mapbox-gldependency for unminified bundles and revisit compression options for minified bundles [#5449] - Remove header comments from the source files and only add headers to the top of dist files at build time [#5436, #5446]
- Guard against unexpected characters at build time [#5424]
- Minimize indentation in plot-schema [#5663]
- More maintenance work listed under the the 60th milestone!
Fixed
- Fix "toself"
fillforscattergltraces to handle multiple polygons [#5355], with thanks to @ruijin for the contribution! - Fix element targeting on hover in shadow DOM [#5256], with thanks to @dbluhm for the contribution!
- Improve
scatterglperformance when using typed arrays [#5632], with thanks to @Seranicio for the contribution! - Hide gridlines and ticks overlapping "inside" ticklabels [#5550, #5586, #5589, #5610, #5684]
- Improve hover in compare and unified modes [#5543, #5618, #5662, #5664, #5668, #5683]
- Fix spike on
bar-like traces [#5542] - Fix
barinside text font color default when using colorscale [#5666] - Fix
texttemplateon log axes [#5622] - Fix displaying zero
thresholdforindicatortrace [#5430] - Fix axis constraints for
heatmapgl[#5476] - Fix setTimeout functions to return in the case of undefined layouts [#5482]
- Fix misinterpreted clip-path by some programs after export [#5686]
- Avoid redundant number casting in
Lib.ensureNumberfunction [#5637] - Avoid duplicate keys in object literals within plotly builds [#5458]
- Improve attribute compression and avoid redundant copyright comments in non-minified bundles [#5426, #5429, #5439]
- Provide links to all pull requests in the changelog [#5469]
- Fix syntax test on the dist files [#5471]
- Publish partial bundles using relevant tag from the package e.g.
latestorrc[#5467] - Place CDN publish script inside plotly.js repository [#5468, #5470]
- JavaScript
Published by archmoj about 5 years ago
plotly.js - v2.0.0-rc.1
Check out the Pre-Release Announcement on our community forum for details about v2 Release Candidates
Our commitment to semantic versioning requires us to make this next release a major version bump because we are making some backwards-incompatible changes to older and deprecated features (see below), but we see this as a low-risk maintenance release and we expect that the vast majority of users should plan to upgrade without fearing significant issues, including Javascript developers who embed Plotly.js directly in their apps or websites, as well as data scientists using Plotly.js via Plotly.py in a notebook environment, and of course Dash app developers!
Added
- CSP safety: refactored to avoid usage of function constructors from
basic,cartesian,finance,geo, andmapboxpartial bundles and added tests to ensure that they will not again do so in the future [#5359, #5383, #5387], with thanks to Equinor for sponsoring the related development! - Add
strictpartial bundle [#5413, #5444], which includes the maximal subset of the library which does not rely on function constructors - Add
partial-bundlescript to facilitate generation of custom bundles [#5527, #5508] - Implement "fast"
zsmoothoption forimagetrace [#5354, #5386], with thanks to @almarklein for the contribution! - Implement various
marker.patternoptions inhistogram,barandbarpolartraces [#5520, #5537] with thanks to @s417-lama for the contribution! - Implement
ticklabeloverflowoptions on cartesian axes and colorbars to drop tick labels going outside div or domain [#5584] - Implement
(x|y|z)hoverformat,(u|v|w)hoverformatandvalueformatto cartesian and gl3d traces [#5563]
Removed
- Drop support for old browsers IE9 and IE10 [#5376, #5380, #5460, #5491]
- Stop exporting v3 of d3 under
Plotly.d3[#5400, #5406] - Stop attaching
_has*plot types tofullLayout[#5409] - Stop injecting MathJax config by default [#5514]
- Remove
sane-topojsonand MathJax v2.3 files from dist folder and change supported MathJax version to v2.7.5 [#5487, #5492, #5494] - Reduce the number of exported methods from
Plotly.FxandPlotly.Plotsin the API [#5420] - Drop
Plotly.plotfrom the API [#5412, #5370, #5393] - Drop
Plotly.Queuefrom the API [#5423] - Drop non-object
rolekeys from attribute definition [#5425, #5432] - Drop deprecated
contourglandareatraces as well as deprecated legacy pre-scatterpolarpolar-related attributesbar.t,bar.r,scatter.t,scatter.r,layout.radialaxis,layout.angularaxisandgd.framework[#5399, #5408, #5409, #5398, #5438]
Deprecated
- Deprecate
heatmapglandpointcloudtrace types for later removal [#5447]
Changed
- Add major versions e.g. "latest-v2" when publishing latest to CDN and keep "latest" for v1 [#5462]
- Switch to
native-promise-onlymodule to handle es6 promises [#5358] - Switch to
probe-image-sizemodule to get width and height of images [#5388] - Relax test for plain objects to enable validation in node.js and multiple window contexts [#5411, #5498]
- Display latitudes before longitudes in hoverlabels to comply with ISO 6709 (Standard representation of geographic point location by coordinates) [#5485]
- Adjust text shadow color in respect to
paper_bgcolorfor better dark mode display ofsankey,parcoordsandparcatstraces [#5506] - Improve
sankeytext namely support pseudo-html, fixtextfont.colorand avoid clipping [#5531] - Make selection event data of
scatterglon par withscattertraces [#5534] - Fire
plotly_unhoverevent when dragging [#5407], with thanks to @rreusser for the contribution! - Include transforms and calendars in partial bundles [#5379, #5422]
- Require unminified
mapbox-gldependency for unminified bundles and revisit compression options for minified bundles [#5449] - Remove header comments from the source files and only add headers to the top of dist files at build time [#5436, #5446]
- Guard against unexpected characters at build time [#5424]
- More maintenance work listed under the the 60th milestone!
Fixed
- Fix "toself"
fillforscattergltraces to handle multiple polygons [#5355], with thanks to @ruijin for the contribution! - Fix element targeting on hover in shadow DOM [#5256], with thanks to @dbluhm for the contribution!
- Hide gridlines and ticks overlapping "inside" ticklabels [#5550, #5586, #5589]
- Fix hover filter to display close period points [#5543]
- Fix spike on
bar-like traces [#5542] - Fix displaying zero
thresholdforindicatortrace [#5430] - Fix axis constraints for
heatmapgl[#5476] - Fix setTimeout functions to return in the case of undefined layouts [#5482]
- Avoid duplicate keys in object literals within plotly builds [#5458]
- Improve attribute compression and avoid redundant copyright comments in non-minified bundles [#5426, #5429, #5439]
- Provide links to all pull requests in the changelog [#5469]
- Fix syntax test on the dist files [#5471]
- Publish partial bundles using relevant tag from the package e.g.
latestorrc[#5467] - Place CDN publish script inside plotly.js repository [#5468, #5470]
- JavaScript
Published by archmoj about 5 years ago
plotly.js - v2.0.0-rc.0
Check out the Pre-Release Announcement on our community forum for details about this Release Candidate
Our commitment to semantic versioning requires us to make this next release a major version bump because we are making some backwards-incompatible changes to older and deprecated features (see below), but we see this as a low-risk maintenance release and we expect that the vast majority of users should plan to upgrade without fearing significant issues, including Javascript developers who embed Plotly.js directly in their apps or websites, as well as data scientists using Plotly.js via Plotly.py in a notebook environment, and of course Dash app developers!
Added
- CSP safety: refactored to avoid usage of function constructors from
basic,cartesian,finance,geo, andmapboxpartial bundles and added tests to ensure that they will not again do so in the future [#5359, #5383, #5387], with thanks to Equinor for sponsoring the related development! - Add
strictpartial bundle [#5413, #5444], which includes the maximal subset of the library which does not rely on function constructors - Implement "fast"
zsmoothoption forimagetrace [#5354, #5386], with thanks to @almarklein for the contribution!
Removed
- Drop support for old browsers IE9 and IE10 [#5376, #5380, #5460]
- Stop exporting v3 of d3 under
Plotly.d3[#5400, #5406] - Stop attaching
_has*plot types tofullLayout[#5409] - Reduce the number of exported methods from
Plotly.FxandPlotly.Plotsin the API [#5420] - Drop
Plotly.plotfrom the API [#5412, #5370, #5393] - Drop
Plotly.Queuefrom the API [#5423] - Drop non-object
rolekeys from attribute definition [#5425, #5432] - Drop deprecated
contourglandareatraces as well as deprecated legacy pre-scatterpolarpolar-related attributesbar.t,bar.r,scatter.t,scatter.r,layout.radialaxis,layout.angularaxisandgd.framework[#5399, #5408, #5409, #5398, #5438]
Deprecated
- Deprecate
heatmapglandpointcloudtrace types for later removal [#5447]
Changed
- Add major versions e.g. "latest-v2" when publishing latest to CDN and keep "latest" for v1 [#5462]
- Switch to
native-promise-onlymodule to handle es6 promises [#5358] - Switch to
probe-image-sizemodule to get width and height of images [#5388] - Relax test for plain objects to enable validation in node.js and multiple window contexts [#5411]
- Fire
plotly_unhoverevent when dragging [#5407], with thanks to @rreusser for the contribution! - Include transforms and calendars in partial bundles [#5379, #5422]
- Require unminified
mapbox-gldependency for unminified bundles and revisit compression options for minified bundles [#5449] - Remove header comments from the source files and only add headers to the top of dist files at build time [#5436, #5446]
- Guard against unexpected characters at build time [#5424]
- More maintenance work listed under the the 60th milestone!
Fixed
- Fix "toself"
fillforscattergltraces to handle multiple polygons [#5355], with thanks to @ruijin for the contribution! - Fix element targeting on hover in shadow DOM [#5256], with thanks to @dbluhm for the contribution!
- Fix displaying zero
thresholdforindicatortrace [#5430] - Avoid duplicate keys in object literals within plotly builds [#5458]
- Improve attribute compression and avoid redundant copyright comments in non-minified bundles [#5426, #5429, #5439]
- JavaScript
Published by nicolaskruchten over 5 years ago
plotly.js - v1.58.4
Fixed
- Fix
preserveDrawingBufferWebGL config for displaying transparent gl3d scenes on Apple devices running latest Safari versions (v13 and higher) [#5351] - Fix spelling [#5349, #5356] with thanks to @jbampton for the contribution!
- JavaScript
Published by archmoj over 5 years ago
plotly.js - v1.58.3
Fixed
- Fix
autorangefor inside tick label positions [#5332] - Fix "nonnegative" and "tozero"
rangemodefor inside tick label positions (regression introduced in 1.58.2) [#5331] - Fix missing categories and tick labels on react updates (regression introduced in 1.54.6) [#5345]
- Fix to avoid "autoscale" error when axis
autorangeis set to false (regression introduced in 1.42.0) [#5336]
- JavaScript
Published by archmoj over 5 years ago
plotly.js - v1.58.2
Fixed
- Fix
root.colorerror fortreemapandsunbursttraces (regression introduced in 1.58.0) [#5330] - Avoid infinite redraws to compute autorange for "inside" tick labels
on the axes linked with
scaleanchorand/ormatches[#5329] - Provide padding for "inside" tick labels of various cartesian traces
e.g.
heatmap,barandlineplots [#5325] - Adjust position of multi-line dates for tick labels in respect to
sideandticklabelpositionon x-axis [#5326] - Move
tapeto dev-dependencies [#5323]
- JavaScript
Published by archmoj over 5 years ago
plotly.js - v1.58.0
Added
- Add
ticklabelpositionattribute to cartesian axes and colorbars [#5275], this feature was anonymously sponsored: thank you to our sponsor! - Add "strict"
autotypenumbersto axes andlayout[#5240] - Add
itemwidthto legends [#5212], with thanks to @s417-lama for the contribution! - Add
root.colorattribute tosunburstandtreemaptraces [#5232, #5245], with thanks to @thierryVergult for the contribution!
Changed
- Enable fast
imagerendering for all linear axes [#5307], with thanks to @almarklein for the contribution! - Rework
matchesandscaleanchorso they work together [#5287]
Fixed
- Fix hover on mobile and tablet devices for gl3d subplots #5239, with thanks to @jdpaterson for the contribution!
- Fix interactions when static/dynamic CSS transforms e.g. scale and translate are applied to the graph div or its parents [#5193, #5302], with thanks to @alexhartstone for the contribution!
- Fix reordering of mapbox raster and image layers on update [#5269]
- Fix
categoryorderfor missing values in cartesian traces [#5268] - Fix
automarginbug to provide space for long axis labels [#5237] - Avoid styling of backgrounds during
automarginredraws [#5236] - Fix displaying zero length bars with
staticPlotconfig option [#5294] - Fix setting false locale to "en-US" [#5293]
- Fix typo in Czech locale file [#5255], with thanks to @helb for the contribution!
- Fix
gl3dscene initialization [#5233]
- JavaScript
Published by archmoj over 5 years ago
plotly.js - v1.57.1
Changed
- Update template for new pull requests [#5220]
- Provide a default
hovertemplatelabel for attribute "base" inbartraces [#5216]
Fixed
- Fix
staticPlotbehaviour forrangesliderandlegend[#5210], with thanks to @miqh for the contribution! - Fix
colorbarreact to new styles [#5217], with thanks to @anaplian for the contribution! - Fix
computedmargins when plot involves too many redraws [#5225] - Fix build issue for Chart Studio Cloud (regression introduced in 1.56.0) [#5223]
- JavaScript
Published by archmoj over 5 years ago