Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.39.2
Fixed
- Fix scattergl selection after resize relayouts [#2801]
- Fix scattergl layout replot edits [#2793]
- Fix cartesian axis range animations (bug introduced in 1.37.0) [#2788]
- Fix contour labels that require thousands suffixes [#2806]
- Fix 'legendonly' legend items link to array
marker.symbol[#2816] - Fix handling of duplicate points under
line.simplify[#2814] - Fix transform removal via
Plotly.react[#2805] - Fix out-of-subplot scroll zoom on some geo projection types [#2811]
- Fix hover label in RTL pages [#2790]
- Reduce minified bundle back to their 1.39.0 sizes [#2792]
v1.39.1
v1.39.0
Added
- Add distributed npm packages for the main plotly.js bundle and all our partial
bundles for easy installation and bundling [#2670] - Add template machinery along with helpers methods
Plotly.makeTemplateand
Plotly.validateTemplate[#2764] - Add 3D
streamtubetraces [#2658] - Add support for on-graph text in
scattergltraces [#2737, #2783] - Add
gridshapeattribute to polar subplots with values'circular'(the
default) and'linear'(to draw polygon grids) [#2739] - Add
'range'and'change'aggregatetransform functions [#2764] - Add
visibleattribute torangeselectorandupdatemenubuttons, slider
steps andmapboxlayout layers as well astickformatstopsitems [#2761] - Add support for colorbar linked to
marker.colorvalues forsplom,
scatterpolarandscatterpolargltraces [#2681] - Revamp icon settings in custom mode bar buttons, allowing users to specify
their own dimensions and SVG transforms [#2762] - Add
plotlyServerURLconfig option [#2760] - Added no-WebGL warnings for graphs with
scattergl,scatterpolargl,splom
andparcoordstraces [#2697]
Changed
plotly_afterplotis now emitted after all edit types [#2773]- Trace
uidis no longer mutated into user trace objects [#2681] - No longer add
marker.lineinscattermapboxfullData [#2766] - Use
regl@1.3.6[#2694] - Use
mapbox-gl@0.45.0[#2709]
Fixed
- Fix
Plotly.react's handling of changing auto-margins [#2681] - Make plotting/updating WebGL-based traces fail gracefully when WebGL isn't
supported [#2697] - Fix mapbox layout layer updates [#2734]
- Fix mapbox event inconsistencies [#2766]
- Correctly emit
plotly_relayoutat end of scroll on mapbox subplots [#2709] - Fix
scatter3dscalarhovertexthandling [#2698] - Fix line decimation for segments crossing the viewport [#2705]
- Fix
surfacetrace contours when first level has length zero [#2712] - Fix
contour(x|y|z).highlightpartial settings [#2712] - Fix old date timezone precision in Chrome 67+ [#2747]
- Fix
Plotly.validatefor attribute with trailing numbers (e.g.x0,y1) [#2761] - Fix x-only zoom moves when
xaxis.fixedrange: true[#2776] - Fix colorbar edits for
parcoordsandhistogramtraces [#2681] - Fix bandwidth for single-value violins [#2775]
- Sanitize
marginafter 'autosize' relayouts [#2758] - Make
Plots.resizework whenlayoutattribute is gone from graph div [#2710] - Fix
colorscaleattribute descriptions [#2658]
v1.38.3
Fixed
- Fix
coneaxis padding when undersizemode: 'absolute'[#2715] - Fix
conescaling on irregular grids [#2715] - Fix
conesizemode: 'absolute'scaling and attribute description [#2715] - Improve
conehover picking [#2715] - Fix exception during histogram cross-trace computations [#2724]
- Fix handling of custom transforms that make their own data arrays [#2714]
v1.38.2
v1.38.1
Fixed
- Fix transforms on
scattergltraces [#2677] - Fix
marker.line.widthscaling inscattergltraces [#2677] - Fix
[un]selected.marker.sizescaling inscattergltraces [#2677] - Create two not three WebGL contexts for scattergl/splom graphs
(bug introduced 1.36.0) [#2656] - Fix
zupdates of interpolated values on heatmap and contour traces with gaps [#2657] - Fix select/pan double-click behavior when relayout from one another
(bug introduced in 1.36.0) [#2668] - Fix shift selection behavior after pan/scroll
(bug introduced in 1.36.0) [#2676]
v1.38.0
Added
- Add 3D
conetraces to visualize vector fields [#2641, #2647] - Add ability to interactively change length and rotate line shapes [#2594]
- Add
toImageButtonOptionsconfig object to override to-image mode bar button options [#2607] - Add Brazilian Portuguese (
pt-br) locale [#2622] - Add Italian (
it) locale [#2632]
Changed
- Improve cartesian scroll and pan (mostly) performance for graphs with
many marker or/and text nodes [#2623] - Improve
splomfirst render and axis-range relayout performance [#2628] - Improve multi-axis axis-range relayout performance by updating minimal set of
axes instead of all axes [#2628] - Use "grab" cursor to denote when annotations and shapes are draggable [#2594]
- Ignore zero and negative link values in
sankeytraces [#2629] - Ignore unused and malformed links
sankeytraces without logging [#2629]
Fixed
- Fix
scatterglerror bar computations when input value are numeric strings [#2620] - Fix
scatterglerror bar computations forx0/dxandy0/dycoordinates [#2620] - Fix
violinkde span edge cases [#2650] - Make
sankeytraces accept numeric strings [#2629] - Fix axis range edits under axis constraints [#2620]
- Fix "sloppy click" event emission during cartesian zoom [#2649]
- Fix layout
gridvalidation which lead to exceptions [#2638] - Fix
parcoordsrendering in old Safari version [#2612] - Link to https://get.webgl.org instead of http version in no WebGL message [#2617]
v1.37.1
v1.37.0
Added
Changed
- Improve cartesian trace update and removal by using more d3-iomatic patterns.
This results in some performance improvements during redraws [#2574] - Our internal
Lib.nestedPropertyno longer prunes empty containers in
gd.data,gd.layout,gd._fullDataandgd._fulllayout.
We made this change to clean up some of thePlotly.reactinternals.
This also lead to a slight performance boost [#2577]
Fixed
- Fix
Plotly.react's handling of transformed traces [#2577] - Fix Safari support for
scatterglandsplomtraces [#2593] - Fix
scatterglpoint clustering edge cases [#2593] - Fix
scatterglselection after double-click on graphs
with more than 1e5 points [#2593] - Fix artificial number of lines limit in
scattergltraces [#2568] - Fix typed array support in color array in
scattergltraces [#2596] - Fix typed array support for
splomtraces [#2596] - Make
scatterandscattercarpetcoexist on same subplot [#2574] - Fix incorrect fallback border color for axis common hover labels [#2557]
- Fix handling of blank editable legend items [#2587]
- Fix spikelines positioning in Firefox [#2590]
- Fix
Plotly.reactmodebar updates when the locale changes [#2592] - Fix
scatterselection performance regression (dating back to 1.32.0) [#2583] - Fix
plotly_beforeplotandplotly_beforehoverevent handlers when attached
withgd.once[#2581]