Releases: plotly/plotly.js
Releases · plotly/plotly.js
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]
v1.36.1
v1.36.0
Added
- Add
splom(aka scatter plot matrix) traces [#2505] - Add multi-selection and click-to-select on
parcoordsaxes [#2415] - Add selection and improve legend items for
ohlcandcandlestick[#2561] - Add 'fixed size' layout shapes through new shape attributes
xsizemode,ysizemode,xanchorandyanchor[#2532] - Add layout attribute
selectdirectionto restrict select-box direction [#2506] - Add support for selections on graphs with range sliders [#2561]
- Add support for ragged
tableinputs [#2511] - Add Czech (
cs) locale [#2483] - Add Japanese (
ja) locale [#2558]
Changed
- Multiple performance improvements for cartesian subplots, most noticeable
on graphs with many cartesian subplots [#2474, #2487, #2527] - Use new
gl-mesh3dversion that attempts to make lighting results less
hardware-dependent [#2365] - New and improved point-clustering algorithm for
scattergl[#2499] - Improved
regl-line2dcomponent [#2556]
Fixed
- Fix memory leak in
parcoordstraces [#2415] - Fix
scatterglselectedpointsclearance under select/lasso drag modes [#2492] - Fix
scatterglhorizontal lines rendering [#2564] - Fix
scatterglunselected marker opacity for array marker opacity traces [#2503] - Fix
scatterglhover over data gaps [#2499] - Fix
ohlcon category axes [#2561] - Fix inconsistencies in
ohlcandcandlestickevent data [#2561] - Fix hover
textforcandlesticktraces [#2561] - Fix
scattermapboxselections for traces with data gaps [#2513] - Fix
tableborder cases that got previously cut off [#2511] - Fix
boxtraces with one jittered outlier [#2530] - Fix
cliponaxis: falseon reversed axes [#2533] - Fix buggy
plot_bgcolorrendering when updating axisoverlayingattribute [#2516] - Fix buggy
Plotly.reactbehavior forcarpet,contourcarpet,scattercarpet,
tableand x/y/z columnheatmaptraces [#2525] - Fix buggy
Plotly.reactbehavior forohlcandcandlesticktraces [#2561] - Fix ordered categories on graphs with
visible: falsetraces [#2489] - Fix ordered categories in multi-subplot graphs [#2489]
- Fix inconsistencies when ordering number and numeric string categories [#2489]
- Fix format
daysin English locale [#2490] - Handle HTML links with encoded URIs correctly in svg text labels [#2471]
v1.35.2
v1.35.1
v1.35.0
Added
- Add
automarginattribute to cartesian axes which auto-expands margins
when ticks, tick labels and/or axis titles do not fit on the graph [#2243] - Add support for typed arrays as data array inputs [#2388]
- Add layout
gridsattribute for easy subplot generation [#2399] - Implement
cliponaxis: falsefor bar text [#2378] - Add opposite axis attributes for range slider to control y axis range behavior [#2364]
- Generalize
hoverdistanceandspikedistancefor area-like objects [#2379] - Bring
scatterglauto-range logic to par with SVGscatter[#2404] - Add selected/unselected marker color size support to
scattermapboxtraces [#2361]
Changed
- Remove all circular dependencies in our
src/directory [#2429] - Build our CDN bundles with
browser-pack-flatbrowserify plugin [#2447] - Bump
mapbox-gltov0.44.0[#2361] - Bump
glslifytov6.1.1[#2377] - Stop relinking
customdata,idsand any matching objects
ingd._fullLayoutduringPlots.supplyDefaults[#2375]
Fixed
- Fix buggy auto-range / auto-margin interaction
leading to axis range inconsistencies on redraws
(this bug was mostly noticeable on graphs with legends) [#2437] - Bring back
scattergllines under select/lassodragmode
(bug introduced in1.33.0) [#2377] - Fix
scatterglvisible toggling for graphs with multiple traces
with different modes (bug introduced in1.33.0) [#2442] - Bring back
spikelinesfor traces other thanscatter
(bug introduced in1.33.0) [#2379] - Fix
Plotly.Fx.hoveracting on multiple subplots
(bug introduced in1.32.0) [#2379] - Fix range slider with stacked y axes positioning
(bug introduced in1.32.0) [#2451] - Fix
scatterglcolor clustering [#2377] - Fix
Plotly.restyleforscatterglfill[#2377] - Fix multi-line y-axis label positioning [#2424]
- Fix centered hover labels edge cases [#2440, #2445]
- Fix hover labels in bar groups in compare mode [#2414]
- Fix axes and axis lines removal [#2416]
- Fix auto-sizing in
Plotly.react[#2437] - Fix error bars for
Plotly.reactand uneven data arrays [#2360] - Fix edits for date-string referenced annotations [#2368]
- Fix
zhover labels with exponents [#2422] - Fix yet another histogram edge case [#2413]
- Fix fall back for contour labels when there's only one contour [#2411]
- Fix
scatterpolarcategory angular period calculations [#2449] - Clear select outlines on mapbox zoomstart [#2361]
- Fix legend click to causes legend scroll bug [#2426]
v1.34.0
Added
- Add
Plotly.react, a new do-it-all API method that creates and update graphs
using the same API signature [#2341] - Add constraint-type contours to
contourtraces [#2270] - Add
notchedandnotchwidthattributes toboxtraces [#2305] - Add localization machinery to auto-formatted date axis ticks [#2261]
- Add support for
textinmesh3dtraces [#2327] - Add support for scalar
textinsurfacetraces [#2327] - Make mode bar for graphs with multiple subplot types more usable [#2339]
- Add
npm@5package-lock file [#2323]
Changed
- All of gl-vis dependencies now use
gl-shader@4.2.1[#2293, #2306] - All our dependencies and source now use
glslify@6.1.0[#2326]
Fixed
- Prevent page scroll on mobile device on
gl2dandgl3dsubplots [#2296] - Fix multi-marker
scatterglselection errors (bug introduced in1.33.0) [#2295] - Fix
Plotly.addTracesinscatterglselection call backs (bug introduced in1.33.0) [#2298] - Fix trace
opacityrestyle forscattergltraces (bug introduced in1.33.0) [#2299] - Fix
scatterglhandling ofselectedpointsacross multiple traces [#2311] - Fix
scatterglhorizontal and vertical line rendering [#2340] - Fix restyle for scalar
hoverinfoforscatter3d,surfaceandmesh3dtraces [#2327] - Fix
tablewhen content-less cells and headers are supplied [#2314] - Fix
Plotly.animatefor attribute nested indimensionscontainers [#2324] - Fix
hoverformatonvisible: falsecartesian axes (bug introduced in1.33.0) [#2329] - Fix handling of double negative translate transform values [#2339]
- Fix compare
hovermodefallback for non-cartesian subplot types [#2339] - Fix animation error messages when overriding and ignoring frames updates [#2313]
v1.33.1
Fixed
- Fix selection on
scatterglplots with >20k points [#2266] - Update Spanish localization with new strings [#2268]
- Fix test_dashboard overly rigid restriction so parcoods works there [#2273]
- Make
layout.colorwaycompatible withsankeytraces [#2277] - Fix click events on
fixedrangesubplots [#2279] - Remove ghost fill when trace data is emptied out [#2280]
- Fix resizing of new
scatterglplots [#2283] - Fix positioning of carpet axis titles for
cheaterslopeedge cases [#2285] - Fix coloring and hover info for heatmaps and contour maps with nonuniform bins [#2288]