Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.14.2
Fixed
Plotly.newPlotcorrectly clears all present WebGL contexts [#724]- Bar traces with
layout.bargap0 and unsetmarker.line.widthare 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.barmoderelative now correctly compute the bar sum of
the first position when positive and negative values are present [#723] - Event
plotly_relayoutis 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
surfacecountours description [#696] - Fix
mapbox.layers.linedescription [#690]
v1.14.0
Added
- Attribute
line.colorinscatter3dtraces now support color scales [#617] - Annotations tail positions can now be set in data coordinates via the new
axrefandayrefattributes [#610] - Attribute
hoveronis added forscatterandscatterternarytraces 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,circleandsymbollayer 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
legendonlytraces [#644] - Ternary plots now respect the
staticPlotconfig option [#645] - Descriptions for axes
nticksand contour tracesncountoursnow properly
describe their behavior [#662]
v1.13.0
Added
- Beta version of the
scattermapboxtrace type - which allows users to create
mapbox-glmaps using the plotly.js API. Note thatscattermapboxis 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
mesh3dattribute descriptions [#593]
Changed
Fixed
- Fix
Plotly.toImageandPlotly.downloadImagebug specific to Chrome 51 on
OSX [#604] - Fix
Plotly.downloadImageforsvgtypes [#604] - Fix
scatterglopacity 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.relayoutcalls forlayout.imagesin{ astr: val }notation
[#624] - Bring back correct default value for
lightpositionin surface traces (bug
introduced in 1.12.0) [#571] - Fix typos in contours descriptions in contour traces [#583]
- Fix typos in
axis.ticktextdescription [#607] - Fix ambiguities in histogram
nbindescriptions [#623]
v1.12.0
Added
- Light positions, face normal epsilon and vertex normal epsilon are now
configurable inmesh3dtraces [#556] - Light position is now configurable in
surfacetraces [#556] surfaceandmesh3dlighting attributes are now accompanied with
comprehensive descriptions. [#556]
Changed
- Plot modules are now allowed to have their own
toSVGmethod for
subplot-specific to-svg logic [#554]
Fixed
- gl2d plots are now functional in
core-jsenvironments (e.g. in babel es6
presets) [#569] - gl2d replot calls from a blank plot are now functional [#570]
- SVG graph config argument
scrollZoomis now again functional (bug introduced
in v1.10.0) [#564] layout.separatorsis now honored in pie text labels [#547]- Heatmap
zsmoothvalue'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.toImageto convert a plotly graph to an image
data URL (svg, png, jpg, and webp are supported) andPlotly.downloadImageto
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
connectgapsattribute toscattergltraces [#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_relayoutis now emitted on gl2d subplot drag/pan/zoom
interactions [#466] - Add support for fill coloring in
contourgltraces [#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
_hasfields are replaced by a_hasmethod
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.plotare now guaranteed to be resolved before
the final resolve [#521] - Restyling
scatterternarydata attributes is now working [#540] - Error bar of 0 length in log axes are not included in hover labels (instead of
showingNaNs) [#533]
v1.10.2
Fixed
- Subplot and range slider clip paths are now functional in AngularJS (bug introduced in 1.10.0) [#509]
relayoutcall involving axiscategoryorderandcategoryarrayare now
working [#510]- Annotation drag interactions in
editable: truemode are now functional (bug
introduced in 1.10.0) [#505] - Improved attribute description for shape
xrefandyref[#506]
v1.10.1
Fixed
- Resizing a graph (e.g. via
Plotly.relayoutor Plotly.Plots.resize)
properly updates the plot area clip paths (bug introduced in 1.10.0) [#490] Plotly.Snapshot.toSVGis 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: truecontexts (bug introduced in 1.6.0)
[#487] - Legend scroll box are drawn outside the legend [#478]
v1.10.0
Added
- Beta version of two new 2D WebGL trace types:
heatmapglandcontourgl
[#427, #434] - Two new
scatterlinefillmodes:'toself'and'tonext'[#462] - Fills for
scatterternarytraces are now supported [#462] - Configurable axis category ordering with
categoryorderand an optional
categoryarrayaxis attributes [#419] - Configurable shapes layer position with shape attribute
layer[#439] - Configurable range slider range (so that the initial xaxis range can differ
from the range slider range) [#473]
Changed
- Nested SVG elements in SVG image exports are removed, making the to-image mode
bar button work in RStudio and SVG export compatible with Adobe Illustrator
[#415, #454, #442] - Use
country-regexnpm package instead of hard-coded file of ISO-3 code to
country regular expressions [#461]
Fixed
- Legend positioning does not break on negative
xandysettings (bug
introduced in 1.6.0) [#417] - Shapes are properly deleted when clearing all of them at once (bug introduced
in 1.9.0) [#465] - Promise are return after first render in gl3d and gl2d plots [#421]
- Click and hover events are properly triggered when trace
hoverinfois set to
'none'[#438] plotly_unhoverevents is now properly triggered on geo trace types [#429]plotly_relayoutevent is now properly triggered on gl3d set camera [#458]- RGBA colors are now supported in
scatterandbarcustom color scales
[#422] - Range slider is now functional with
x0/dxdata [#441] - Range slider is now compatible with mode bar axis range buttons and double
click [#471]