Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.50.0
Added
- Add
treemaptrace type [#4185, #4219, #4227, #4242] - Add
texttemplateattribute to all traces that support on-graph text [#4071, #4179] - Add date custom formatting in
hovertemplateandtexttemplatee.g.
'%{x|%b %-d, %Y}'[#4071] - Add transition support to
bartrace length, width, on-graph text positioning,
marker style and error bars [#4180, #4186] - Add attribute
count, colorscale support and manyhoverinfo/textinfoflags
tosunbursttraces [#4185, #4245] - Add constraint info to
parcatsclick and hover events [#4211] - Add support for legend scrolling via touch interactions [#3873, #4214]
- Add
ruanduklocales [#4204] - Publish minified dist npm packages for the main plotly.js bundle and
all our partial bundles [#4169]
Changed
- Cap the number of redraws triggered by the auto-margin routine,
which should prevent all potential infinite redraw loops [#4216] - Improve cartesian axis draw performance by (1) computing its bounding box
only when required and (2) using a bounding-box computation cache [#4165] - Log message when margin-push values are too big to be considered during
auto-margin computations [#4160] - Log message when legend position is constrained into graph viewbox [#4160]
- Process layout image using data URI synchronously [#4105]
- Adapt default axis ranges to
rangemodevalues'tozero'and'nonnegative'[#4171] - Show zeroline even when no grid lines are present [#4189]
- Use
mapbox-glversion 1.3.2 [#4230] - Make
touchmoveevent listener non passive on mobile drag [#4231] - Improve
streamtubetrace description [#4181] - Improve
indicatortrace description [#4246] - Improve legend
xandyattribute descriptions [#4160]
Fixed
- Fix attempt at fixing gl3d in Chrome 77 problems [#4256]
- Fix numerous legend positioning bugs [#4160]
- Fix numerous axis
automarginbugs [#4165, #4216] - Correctly handle
<br>and\ninscattermapboxon-graph text [#4176] - Fix
scatterglhover over nulls (bug introduced in 1.45.0) [#4213] - Correctly remove off-screen annotations during pan interactions
(bug introduced in 1.40.0) [#4170] - Fix
contourandcontourcarpetlabel formatting via colorbar settings
(bug introduced in 1.48.0) [#4177] - Fix background rectangle dimensions for horizontal grouped legends [#4160]
- Correctly handle non-linear axis types during transitions [#4249]
- Fix
branchvalues: 'total'for generated sunburst sectors [#4253] - Fix
Download plottranslations [#4148] - Fix
frtranslations for "Click to enter --- title" [#4204] - Fix tiny zoombox behavior [#4188]
- Fix rendering of constraint contours with rounded-off edge path [#4102]
- Fix "autoscale" modebar button bug where it sometimes toggled axis
showspikes[#4241] - Fix multi-axis transition axis-to-axis range "leaks" [#4167]
- Fix
toggleHoverandresetViewsmodebar buttons for
some partial bundle + graph setups [#4184] - Correctly list
color-rgbamodule as dependency [#4207] - Fix third-party dependency listing for
gl-cone3dandgl-streamtube3d[#4208, #4215] - Fix
line.widthattr declaration in*contourtraces [#4218] - Remove hover attribute from
carpetandcontourcarpetschema
(as they do not support hover yet) [#4102]
v1.49.5
v1.49.4
v1.49.3
v1.49.2
Fixed
- Fix gl3d hover behavior when multiple points share identical position [#4096]
- Fix
mapbox-gl@1.1.1dependency version listing inpackage.json[#4094] - Fix decimal and thousands separator declaration for Italian (
it) locale [#4122] - Fix
indicatorstepsattribute declaration [#4115] - Performance fix - use
Axes.prepTicks(notAxes.calcTicks) forindicator
number and delta formatting [#4099]
v1.49.1
Fixed
- Fix
parcoordsbug when dimension values are all zeroes (bug introduced in 1.49.0) [#4080] - Fix
parcoordsselect line rendering when constraint range falls below range [#4083] - Fix
parcoordsselect line rendering when selecting outside displayed axis range [#4087] - Fix
parcoordsselect by click when preceded by click away from axis [#4089] - Fix
mapbox.stylevalues in attribution declaration [#4079] - Remove unused variable from
scatter3dshader [#4090]
v1.49.0
Added
- Add
indicatortraces [#3978, #4007, #4014, #4037, #4029] - Add
choroplethmapboxtraces [#3988] - Add
densitymapboxtraces [#3993] - Add new mapbox
stylevalues:open-street-map,carto-positron,carto-darkmatter,
stamen-terrain,stamen-toner,stamen-watercolorandwhite-bg
that do not require a Mapbox access token [#3987, #4068] - Add support for
sourcetypevaluerasterandimageandtyperaster
for mapbox layout layers [#4006] - Add
belowattribute toscattermapboxtraces [#4058] - Add support for
below: 'traces'in mapbox layout layers [#4058] - Add
sourceattributionattribute to mapbox layout layers [#4069] - Add
labelangleandlabelsideattributes toparcoordstraces [#3966] - Add
doubleClickDelayconfig option [#3991] - Add
showEditInChartStudioconfig option [#4061]
Changed
- Bump
mapbox-gltov1.1.1[#3987, #4035] - Include source attribution on mapbox subplots and image exports [#4069]
- Improve mapbox error messages and attribute descriptions [#4035]
- Do not try to resize hidden graph divs under
responsive:true[#3972] - Improve robustness of
sankeytraces with circular links [#3932] - Use
URL.createObjectURLduringPlotly.toImageand
Plotly.downloadImageimproving performance [#4008] - Make
parcoordspick layer 100% invisible [#3946] - (dev-only) drop "pull-font-svg" pre-process step [#4062]
Fixed
- Fix rendering of geo traces with
locationmodeand no base layers
(bug introduced in 1.48.0) [#3994] - Fix lakes and rivers geometry on scoped geo subplots
(bug introduced in 1.48.0) [#4048] - Fix
heatmaprendering for traces with extra categorical coordinates
(bug introduced in 1.48.0) [#4038] - Do not show zero-height bar rendering when their
marker.line.widthis zero
(bug introduced in 1.48.3) [#4056] - Do not show prefix and suffix on log axis minor ticks showing digits [#4064]
- Fix inconsistent
parcoordsbehavior when data is outside range [#3794] - Fix
parcoodsdefault tick formatting [#3966, #4011, #4013] - Fix pseudo-html and MathJax rendering for
parcoordstraces [#3966] - Fix
marker.line.colordefault forchoroplethtraces [#3988] - Fix
scatter3dandscatterglhandling ofrgbcolors
with extra alpha values [#3904, #4009] - Fix zoomed-in box/violin hover labels edge cases [#3965]
- Fix
hoverinfo&hovertemplateinitial, delta and final flags
forwaterfalltraces [#3963] - Fix
hovertemplatedefault number formatting for
choropleth,scattergeo,scatterpolar(gl),barpolar
andscatterternarytraces [#3968] - Remove
sliders/updatemenuscommand observer mutation [#4023] - Fix plot-schema
animlisting for traces that do not (yet) animate [#4024] - Fix
rangesliderstyle during selections [#4022] - Fix per-value
categoryorderforboxandviolintraces [#3983] - Fix handling of non-numeric
marker.line.widtharray items [#4056, #4063] - Fix
downloadImagefor images of more than 2MB in size in Chrome [#4008] - Fix
plotly_clickannotationtriggering wheneditable:true[#3979] - Remove unused
font-atlas-sdfdependency [#3952] - Fix
tickformatattribute description links to d3 formatting language [#4044] - Fix typo in
error_(x|y).typedescription [#4030] - Fix typo in
colorscaledescription [#4060]
v1.48.3
v1.48.2
Fixed
- Fix rendering after 1d -> 2d -> 1d drag motion
underdragmode: 'zoom'(bug introduced in 1.48.0) [#3950] - Fix for
scatterglhover and click events to give the 'top' point
instead of the 'bottom' point [#3924] - Fix
contourlabel rendering for non-monotonically increasing x/y [#3934] - Fix
carpetaxis title position for decreasing a/b coords [#3927] - Fix multiple single-valued overlaid autobinned
histogramedge case [#3935] - Fix
parcoordstickvalsandticktextdocumentation [#3925]