Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.46.0
Added
- New
waterfall
trace type [#3531, #3708] - New
sunburst
trace type [#3594] - Add attributes
node.x
andnode.y
tosankey
traces [#3583] - Implement
connectgaps
onsurface
traces [#3638] - Implement
hovertemplate
forbox
andviolin
points [#3685]
Changed
- Display hover labels above modebar, ensuring that the hover labels
are always visible within the graph div [#3589, #3678]
Fixed
- Fix horizontal legend item wrapping by pushing overflowed items to newline [#3628]
- Fix erroneous gap for histogram under relative
barmode
[#3652] - Fix position of overlapping grouped bars within trace [#3680]
- Fix
violin
bandwidth
logic for traces with identical values in sample [#3626] - Fix
violin
tracescalegroup
description [#3687] - Fix stacked scatter for groupby traces [#3692]
- Fix outside text on empty items in
bar
traces undertextposition: 'outside'
[#3701] - Fix
pie
un-hover event emission after updates [#3662, 3690] - Fix
scatter
line decimation algo for filled trace with far-away data points [#3696] - Fix
heatmap
andcontour
computation for traces with category coordinates containing0
[#3691] - Fix zoom interactions on gl3d subplots using an orthographic projection [#3601]
- Fix miscellaneous gl3d camera on-initialization bugs [#3585]
- Fix
surface
contour line rendering in some Firefox versions [#3670] - Fix rendering of marker points and gl3d subplots on date axes (or with coordinates close to 64K floating limits)
for WebGL-based traces on some iOS devices [#3666, #3672, #3674, #3676] - Fix center-aligned hover labels positioning [#3681]
v1.45.3
Fixed
- Fix legend click dispatch on legend item symbols (bug introduced in 1.44.0) [#3635]
- Fix overlapping of "very close" hover labels [#3645]
- Fix
hovermode
default logic for stackedscatter
traces [#3646] - Fix
glPixelRatio
handling insurface
contour lines [#3641] - Fix
gl2d
subplot zoombox appearance (bug introduced in 1.32.0) [#3647] - Fix axis label updates on
gl2d
subplots on scroll (bug introduced in 1.32.0) [#3647] - Fix
dragmode
relayout calls ongl2d
subplots [#3647] - Improve info about
<extra>
inhovertemplate
description [#3623]
v1.45.2
v1.45.1
Fixed
- Fix axis automargin pushes for rotated tick labels [#3605]
- Fix automargin logic on (very) small graphs [#3605]
- Fix locales support in
hovertemplate
strings [#3586] - Fix gl3d reset camera buttons for scenes with orthographic projection [#3597]
- Fix typed array support for
parcoords
dimensions values andline.color
[#3598] - Fix
cone
rendering on some older browsers [#3591] - Fix
lightposition
behavior forcone
traces [#3591] - Fix
lightposition
behavior forstreamtube
trace [#3593] - Remove unused files from
gl-cone3d
dependency [#3591] - Remove unused files from
gl-streamtube3d
dependency [#3593]
v1.45.0
Added
- Add support for circular networks in
sankey
traces [#3406, #3535, #3564] - Add matching axes behavior to cartesian axes via new axis attribute and
new splom attribute dimensions attributematches
[#3506, #3565] - Add attributes
alignmentgroup
andoffsetgroup
tobar
,histogram
,box
andviolin
traces to make cross-trace positioning easier [#3529] - Add support for orthographic projections in gl3d subplots via new attribute
scene.camera.projection.type
[#3550] - Add
cmid
andzmid
colorscale attributes to pick the middle of the color
range during the auto-colorscale computations [#3549] - Add support for
sankey
grouping via new attributegroups
[#3556] - Add support for
sankey
concentrationcolorscales
[#3501] - Add support for
hovertemplate
for allgl3d
traces,contour
,
heatmap
,histogram*
,parcats
,scattercarpet
andsplom
traces [#3530] - Add
hovertext
attribute to all traces that support hover 'text',
for consistency with traces that already have anhovertext
attribute [#3553] - Add support for layout
meta
templating in tracename
,
rangeselector
,updatemenus
andsliders
labels as well as
withinhovertemplate
[#3548] - Add support for
opacity
toisosurface
traces [#3545] - Add
mapbox.layers
attributes:minzoom
,maxzoom
,line.dash
andsymbol.placement
[#3399]
Changed
- More consistency pass down WebGL pixel ratio to gl3d renderers,
this leads to better axis line and error bar rendering on some hardwares [#3573] - Performance boost for
isosurface
trace generation [#3521] - Export template string regex of
Lib
[#3548] - Do no cluster points in
scattergl
trace with less than 1e5 data pts,
this fixes reported "missing data points" scenarios [#3578]
Fixed
- Fix selection outline clearing during cartesian axis-range relayout calls
(bug introduced in 1.42.0) [#3577] - Fix modebar interactions on graphs with
scatter3d
traces with
marker colorscales (bug introduced in 1.44.0) [#3554] - Fix axis
automargin
for superimposed subplots (bug introduced in 1.44.3) [#3566] - Fix polar angular tick labels placement [#3538]
- Fix
scattergl
updates after selections for trace with on-graph text [#3575] - Fix
responsive: true
config option for graph with WebGL traces [#3500] - Fix
modebar.bgcolor
for vertical modebars with wrapped buttons [#3500] - Fix
ohlc
andcandlestick
auto-range computations [#3544]
v1.44.4
Fixed
v1.44.3
Fixed
- Fix axis
automargin
push offset which resulted in clipped
tick labels in some scenarios [#3510] - Fix handling of alpha channel in marker, line and error bar
rgba
coloring inscatter3d
traces [#3496] - Fix subplots with multiple
carpet
traces each with ascattercarpet
trace on top of them [#3512] - Fix MathJax placement in ternary
aaxis
titles [#3513]
v1.44.2
Fixed
- Fix vertical modebars in IE11 [#3491]
- Fix
hovertemplate
for traces with blankname
[#3480] - Fix 3D grid lines and tick labels colored by rgba color
with full transparency [#3494] - Fix white highlights rendering problems for
mesh3d
trace on
some devices (bug introduced in 1.44.0) [#3483] - Fix
fill.color
description fortable
traces [#3481]
v1.44.1
Fixed
- Fix
mesh3d
rendering on (some) mobile devices (bug introduced in 1.44.0) [#3463] - Fix scene camera update when changing to
turntable
mode whenup.z
is zero
(bug introduced in 1.43.0) [#3465, #3475] - Fix
react
when cartesian axisscaleanchor
patterns change [#3461] - Fix "days" entries in polish (
pl
) locales [#3464] - Remove inner function declarations in our
vectorize-text
that caused
bundling errors for some (bug introduced in 1.43.0) [#3474]
v1.44.0
Added
- Add
isosurface
gl3d trace type [#3438] - Add support for transitions from
Plotly.react
via new layout
transition
attribute [#3217] - Add
meta
layout attribute, intended for making references
to strings in text templates [#3439] - Add support for
line.color
colorbars forscatter3d
traces [#3384] - Add support for
hovertemplate
onscatterpolar
,scatterpolargl
,
scatterternary
,barpolar
,choropleth
,scattergeo
and
scattermapbox
trace [#3398, #3436] - Add
width
attribute tobox
andviolin
traces [#3234] - Add support for
<sup>
,<sup>
,<b>
,<i>
and<em>
pseudo-html
tags in extra (aka trace "name") hover labels [#3443] - Add support for div id as 1st arg to
Plotly.makeTemplate
[#3375] - Add
config
option in plot-schema JSON output [#3376]
Changed
- Config option
scrollZoom
is now a flaglist (instead of a boolean),
each flag corresponding to subplot types where scroll is to be enabled [#3422] - Use
[email protected]
across all our dependencies [#3421]
Fixed
- Fix
error_(x|y|z)
color attribute inheritance [#3408] - Fix
scrollZoom: false
config behavior forgeo
,gl3d
andmapbox
subplots [#3422] - Fix cartesian scroll zoom when
responsive
config option is turned on [#3424] - Fix cartesian scroll zoom when the page where the graph is embedded is scrollable [#3424]
- Fix
box
/violin
autorange edge cases [#3234] - Fix
box
/violin
points hover labels on numeric positions [#3441, #3458] - Fix
box
/violin
grouping algorithm for subplots with as many distinct positions
as the number of traces [#3445] - Fix bar autorange calculations for trace with
base
above zero [#3452] - Fix bar + errorbar autorange calculations [#3452]
- Fix
lightposition
behavior formesh3d
traces [#3415] - Fix legend
valign
behavior forpie
traces [#3435] - Fix wrapped horizontal legends height edge cases [#3446]
- Fix hover label alignment for hover labels with multi-line extra (aka trace "name") labels [#3443]
- Fix cartesian axis domain lower limit [#3404]
- Fix dynamic imports of
lib/
trace modules [#3448] - Fix
scl
andreversescl
backward-compatible logic [#3423] - Fix range slider
borderwidth
attribute description [#3453]