Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.17.2
v1.17.1
Fixed
- Restyling
visible
tofalse
on all scatter traces present on a graph
is now working again (bug introduced in 1.17.0) [#920] - Relayouting
paper_bgcolor
now properly propagate to legend
and updatemenu `bgcolor [#921] - Mapbox plot routine no longer make request to public Mapbox server
when linked to a Mapbox Atlas instance [#919]
v1.17.0
Added
- Add support for animations for scatter trace [#802]
- Add frames and animate API ->
Plotly.animate
,Plotly.addFrames
and
Plotly.deleteFrames
[#802] - Add
Plotly.update
method which can perform data and layout updates in one
call [#875] - Add
pointcloud
gl2d trace type [#850, #869] - Add
xgap
andygap
to heatmap traces to define space between heatmap bricks
[#868] - Add
separatethousands
axis attribute which determines whether four-digit
numbers are separated or not [#848] - Add
'skip'
value to tracehoverinfo
corresponding to traces transparent to
the hover picking routine [#851] - Add support for trace opacity in
toself
filled trace [#896] - Add global transform config option [#852]
- Add
requestAnimationFrame
polyfill todist/extras/
[#904]
Changed
- Explicitly skip undefined props on
restyle
andrelayout
[#844] - Removed a few circular dependency patterns [#833, #837, #845, #878]
Fixed
- Fix legend trace toggle background attributes on restyle [#909]
- Make 'yanchor' default be its intended value of
'top'
[#894] - Fix box plot jitter algorithm when IQR = 0 [#915]
- Fix box plot jitter algorithm when data range is 0 [#915]
- Fix mapbox event firing duplicates [#901]
- Fix mapbox visible false traces handling on first draw [#900]
- Avoid draw buffer to display buffer copy in gl2d plots [#843]
- Do not extend data array on event emission [#842, #866]
- Make
Plotly.redraw
throw an error when called on non plotly graph div [#907] - Make
plotly.min.js
work when injected in Require.js environment [#914]
v1.16.3
Fixed
- Fix SVG exports for graphs with layout images [#846]
- Properly handles duplicate categories in non-default
categoryorder
[#863] - Fix range selector position logic for overlaying axes [#873]
- Autorange is now properly computed for heatmapgl and contourgl traces [#855,
#874] - Trace toggling via legend preserves axis ranges in gl2d plots [#855, #874]
- Bump
mapbox-gl
dependency to 0.22.0 [#867]
v1.16.2
v1.16.1
v1.16.0
Added
- Add
updatemenus
(aka dropdowns) layout components [#770] - Trace type
scattermapbox
is now part of the main bundle [#816] - Add support for
plot
in child windows [#764, #806] - Horizontal legends with many items are now wrapped into multiple lines [#786]
- Active color of range selector button is now configurable via
activecolor
[#796] - Add support for mapbox style JSON [#795]
Changed
- Promise queue is cleared on
restyle
andrelayout
instead of in
theplot
catch handler (which ate up user-defined catch handlers as of
1.15.0) [#776, #789] - Improve performance in
convertToSVG
step [#791, #804]
Fixed
- Skip over non-container arrays in relink private key step (performance bug
introduced in 1.15.0) [#817] - Categorical heatmap traces with insufficient brick are now functional again
(bug introduced in 1.14.0) [#783, #812] - Fix
Plotly.validate
for info and container array attributes [#814, #819] - Range selector buttons can now be deleted via
relayout
[#793]
v1.15.0
Added
- Add
Plotly.validate
method [#697] - Add support for transforms plugins modules [#499]
- Some partial bundles are now distributed in
dist/
[#740] - Mapbox access token can now be set in
layout.mapbox
[#729] - Undo/Redo queue length is now configurable via configuration option
queueLength
[#737]
Changed
- Improve performance in gl2d request animation frame loop [#731]
- Improve
Lib.extendDeep
performance for primitive arrays [#732] - Improve potential XSS input in
text
fields [#736] - Improve scaling on scroll zoom for scatter lines and markers [#761, #762]
Fixed
toImage
pixel output for gl2d graphs are now scaled properly [#735]scattermapbox
marker size and color arrays are now correctly converted when
they include repeated values [#747]- Fix scatter3d marker line color inheritance [#754]
text
fields can now support link with query params=
and&
[#736]- Fix Chrome 50 bug where tester svg blocked other DOM nodes [#745]
v1.14.2
Fixed
Plotly.newPlot
correctly clears all present WebGL contexts [#724]- Bar traces with
layout.bargap
0 and unsetmarker.line.width
are functional
again (bug introduced in 1.3.0) [#709] - Stacked bar traces now correctly set the first bar position when leading gaps
are present (bug introduced in 1.11.0) [#716] - Bar traces with
layout.barmode
relative now correctly compute the bar sum of
the first position when positive and negative values are present [#723] - Event
plotly_relayout
is emitted upon pan / zoom on a mapbox subplot [#727] - Lasso and select box drag modes now work with fixed ranged axes [#728]
- gl2d trace objects are purged when their parent scenes are destroyed [#724]
v1.14.1
Fixed
- Fix colorscale restyle calls on heatmap traces (bug introduced in 1.14.0)
[#694] - Hover after zoom / pan is now functional again in ternary plots (bug
introduced in 1.14.0) [#688] - Fix mapbox layer relayout starting from invisible layer [#693]
- Hover labels when
hoveron: 'fills'
are now constrained to the viewports
[#688] - Fix
surface
countours description [#696] - Fix
mapbox.layers.line
description [#690]