Releases: plotly/plotly.js
Releases · plotly/plotly.js
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]
v1.14.0
Added
- Attribute
line.color
inscatter3d
traces now support color scales [#617] - Annotations tail positions can now be set in data coordinates via the new
axref
andayref
attributes [#610] - Attribute
hoveron
is added forscatter
andscatterternary
traces which
adds the option to show hover labels about fill regions (instead of simply of
about data points) [#673] - Layout shapes can now be moved and resized (except for 'path' shapes) in
editable contexts [#660]
Changed
- Numerous additions and changes where made to the mapbox layout layers
attributes (introduced in 1.13.0). Namely,circle
andsymbol
layer type
where added. Note that some style attributes have been renamed to match the
mapbox-gl API more closely. [#681]
Fixed
- Off-screen heatmap traces are properly deleted (bug introduced in 1.5.1)
[#655] - Hover labels for multi-heatmap subplot is functional again (bug introduced in
1.4.0) [#655] - Heatmap x/y brick generation is now functional for 0 and 1 item columns [#651]
- Multiple layout images can now shared the same image source [#672]
- Updating legend border and bgcolor attribute now works via
Plotly.relayout
[#652] - Dragmode 'select' and 'lasso' no longer throw exception when selecting
legendonly
traces [#644] - Ternary plots now respect the
staticPlot
config option [#645] - Descriptions for axes
nticks
and contour tracesncountours
now properly
describe their behavior [#662]
v1.13.0
Added
- Beta version of the
scattermapbox
trace type - which allows users to create
mapbox-gl
maps using the plotly.js API. Note thatscattermapbox
is only
available through custom bundling in this release [#626] - Configurable log levels. All plotly.js logging is now turned off by default.
UsePlotly.setPlotConfig({ logging: /* 1 or 2 */ })
to (1) display warnings
only or (2) all logs [#590] - Thorough
mesh3d
attribute descriptions [#593]
Changed
Fixed
- Fix
Plotly.toImage
andPlotly.downloadImage
bug specific to Chrome 51 on
OSX [#604] - Fix
Plotly.downloadImage
forsvg
types [#604] - Fix
scattergl
opacity and connectgaps for'lines'
mode [#589] - Make legend scroll bar keep its position after redraws [#584]
- Properly handle axis-reference shapes on overlaid axes [#612]
- Fix
Plotly.relayout
calls forlayout.images
in{ astr: val }
notation
[#624] - Bring back correct default value for
lightposition
in surface traces (bug
introduced in 1.12.0) [#571] - Fix typos in contours descriptions in contour traces [#583]
- Fix typos in
axis.ticktext
description [#607] - Fix ambiguities in histogram
nbin
descriptions [#623]
v1.12.0
Added
- Light positions, face normal epsilon and vertex normal epsilon are now
configurable inmesh3d
traces [#556] - Light position is now configurable in
surface
traces [#556] surface
andmesh3d
lighting attributes are now accompanied with
comprehensive descriptions. [#556]
Changed
- Plot modules are now allowed to have their own
toSVG
method for
subplot-specific to-svg logic [#554]
Fixed
- gl2d plots are now functional in
core-js
environments (e.g. in babel es6
presets) [#569] - gl2d replot calls from a blank plot are now functional [#570]
- SVG graph config argument
scrollZoom
is now again functional (bug introduced
in v1.10.0) [#564] layout.separators
is now honored in pie text labels [#547]- Heatmap
zsmooth
value'fast'
is now functional for arbitrary layout widths
[#548] - Range sliders now respond to all axis range relayout calls [#568]
v1.11.0
Added
- Add top-level methods
Plotly.toImage
to convert a plotly graph to an image
data URL (svg, png, jpg, and webp are supported) andPlotly.downloadImage
to
download a plotly graph as an image [#446] - Add the ability to add arbitrary images loaded from a url to a plot's layout
[#525] - Add the option of making legend span horizontally [#535]
- Add
connectgaps
attribute toscattergl
traces [#449] - Add new 'relative' bar mode which stacks on top of one another with negative
values below the axis, positive values above [#517] - Add support for the 'winkel tripel' projection in geo subplots [#492]
- Event
plotly_relayout
is now emitted on gl2d subplot drag/pan/zoom
interactions [#466] - Add support for fill coloring in
contourgl
traces [#522, #543]
Changed
- Cartesian on-hover routine is now uses a 50ms interval between search calls
instead of 100ms for smoother displaying hover labels [#514] - [Internal change] fullLayout
_has
fields are replaced by a_has
method
which checks if a particular plot type is present on a graph [#491]
Fixed
- Bar widths of traces with null coordinates are now correctly computed [#542]
- Error bar spans on bar traces with null coordinates are now correctly computed
[#542] - All promises spawn in
Plotly.plot
are now guaranteed to be resolved before
the final resolve [#521] - Restyling
scatterternary
data attributes is now working [#540] - Error bar of 0 length in log axes are not included in hover labels (instead of
showingNaN
s) [#533]
v1.10.2
Fixed
- Subplot and range slider clip paths are now functional in AngularJS (bug introduced in 1.10.0) [#509]
relayout
call involving axiscategoryorder
andcategoryarray
are now
working [#510]- Annotation drag interactions in
editable: true
mode are now functional (bug
introduced in 1.10.0) [#505] - Improved attribute description for shape
xref
andyref
[#506]
v1.10.1
Fixed
- Resizing a graph (e.g. via
Plotly.relayout
or Plotly.Plots.resize)
properly updates the plot area clip paths (bug introduced in 1.10.0) [#490] Plotly.Snapshot.toSVG
is now functional again in IE11 and old version of
Chrome and FF (bug introduced in 1.10.0) [#489]- Hover labels of superimposed traces when 'hovermode' is set to 'closest' are
properly displayed (bug introduced in 1.10.0) [#495] - Surface contour highlights are toggleable [#459]
- Surface contour highlights style attributes are lower cased [#459]
- Zoom overlay are drawn over shapes [#448]
- Legend are draggable in
editable: true
contexts (bug introduced in 1.6.0)
[#487] - Legend scroll box are drawn outside the legend [#478]