Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.40.0
Added
- Allow
contour
,contourcarpet
andhistogram2dcontour
to have
corresponding legend items usingshowlegend
[#2891, #2914] - Add
scatterpolar
andscatterpolargl
attributesr0
,dr
,theta0
and
dtheta
[#2895] - Add layout attributes
piecolorway
andextendpiecolors
for more control overpie
colors [#2870] - Add splom attribute
dimensions[i].axis.type
to easily override axis type
in splom-generated axes [#2899] - Add support for on-graph text in
scatterpolargl
traces [#2895]
Changed
- Use
derequire
browserify plugin to make bundling distributed npm package
with browserify possible [#2905] - Speed up cartesian axis autorange edits (and thus double-click interactions) [#2823]
- Do not clear WebGL context when
scattergl
graph has novisible:true
traces, which speeds up e.g. legend interactions [#2860] - Compute data extremes per trace, which improves performance in some cases [#2860]
- Use
<linearGradient>
to render filled colorbars [#2910, #2914] - Rename trace module
setPositions
methodscrossTraceCalc
[#2868] - Use
[email protected]
[#2863]
Fixed
- Fix scalar
marker.size
bounds in legend items [#2840] - Fix positioning of legend symbols for traces with fills [#2891]
- Fix
scattergl
select -> double-click -> pan behavior [#2815] - Fix
scattergl
marker for IE11 [#2863] - Fix inheritance of explicit
pie
colors by later traces [#2870] - Fix layer ordering on graphs with multiple
contour
traces with heatmap
coloring [#2891] - Fix layer ordering on
visible
toggling forcontour
-like traces [#2891] - Fix cases where colorbars would be drawn over its bounds [#2910]
- Fix
tickwidth
edits onohlc
traces [#2823] - Fix labels on splom-generated axes with categorical data [#2899]
- Fix handling of splom dimensions on axes of conflicting types [#2899]
- Fix
splom
tracevisible
edits [#2860] - Fix
splom
select -> double-click -> pan behavior [#2899] - Fix
scatterpolargl
behavior during angular and radial drag interactions [#2888] - Fix handling of auto date ticks below our 100 microseconds limit [#2912]
- Fix
scatter3d
attributes which had incorrectly labeledtextposition
andtextfont.family
asarrayOk
and contained unimplementedline.showscale
andline.colorbar
[#2879] - Fix
scattergl
andscatterpolargl
attribute declarations forhoveron
[#2895]
v1.39.4
v1.39.3
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.makeTemplate
and
Plotly.validateTemplate
[#2764] - Add 3D
streamtube
traces [#2658] - Add support for on-graph text in
scattergl
traces [#2737, #2783] - Add
gridshape
attribute to polar subplots with values'circular'
(the
default) and'linear'
(to draw polygon grids) [#2739] - Add
'range'
and'change'
aggregate
transform functions [#2764] - Add
visible
attribute torangeselector
andupdatemenu
buttons, slider
steps andmapbox
layout layers as well astickformatstops
items [#2761] - Add support for colorbar linked to
marker.color
values forsplom
,
scatterpolar
andscatterpolargl
traces [#2681] - Revamp icon settings in custom mode bar buttons, allowing users to specify
their own dimensions and SVG transforms [#2762] - Add
plotlyServerURL
config option [#2760] - Added no-WebGL warnings for graphs with
scattergl
,scatterpolargl
,splom
andparcoords
traces [#2697]
Changed
plotly_afterplot
is now emitted after all edit types [#2773]- Trace
uid
is no longer mutated into user trace objects [#2681] - No longer add
marker.line
inscattermapbox
fullData [#2766] - Use
[email protected]
[#2694] - Use
[email protected]
[#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_relayout
at end of scroll on mapbox subplots [#2709] - Fix
scatter3d
scalarhovertext
handling [#2698] - Fix line decimation for segments crossing the viewport [#2705]
- Fix
surface
trace contours when first level has length zero [#2712] - Fix
contour(x|y|z).highlight
partial settings [#2712] - Fix old date timezone precision in Chrome 67+ [#2747]
- Fix
Plotly.validate
for attribute with trailing numbers (e.g.x0
,y1
) [#2761] - Fix x-only zoom moves when
xaxis.fixedrange: true
[#2776] - Fix colorbar edits for
parcoords
andhistogram
traces [#2681] - Fix bandwidth for single-value violins [#2775]
- Sanitize
margin
after 'autosize' relayouts [#2758] - Make
Plots.resize
work whenlayout
attribute is gone from graph div [#2710] - Fix
colorscale
attribute descriptions [#2658]
v1.38.3
Fixed
- Fix
cone
axis padding when undersizemode: 'absolute'
[#2715] - Fix
cone
scaling on irregular grids [#2715] - Fix
cone
sizemode: 'absolute'
scaling and attribute description [#2715] - Improve
cone
hover 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
scattergl
traces [#2677] - Fix
marker.line.width
scaling inscattergl
traces [#2677] - Fix
[un]selected.marker.size
scaling inscattergl
traces [#2677] - Create two not three WebGL contexts for scattergl/splom graphs
(bug introduced 1.36.0) [#2656] - Fix
z
updates 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
cone
traces to visualize vector fields [#2641, #2647] - Add ability to interactively change length and rotate line shapes [#2594]
- Add
toImageButtonOptions
config 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
splom
first 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
sankey
traces [#2629] - Ignore unused and malformed links
sankey
traces without logging [#2629]
Fixed
- Fix
scattergl
error bar computations when input value are numeric strings [#2620] - Fix
scattergl
error bar computations forx0
/dx
andy0
/dy
coordinates [#2620] - Fix
violin
kde span edge cases [#2650] - Make
sankey
traces accept numeric strings [#2629] - Fix axis range edits under axis constraints [#2620]
- Fix "sloppy click" event emission during cartesian zoom [#2649]
- Fix layout
grid
validation which lead to exceptions [#2638] - Fix
parcoords
rendering in old Safari version [#2612] - Link to https://get.webgl.org instead of http version in no WebGL message [#2617]