Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.52.0
[1.52.0] -- 2020-01-08
Added
- Add
uniformtextbehavior tobar,funnel,waterfall,pie,funnelarea,
sunburstandtreemaptraces [#4420, #4444, #4469] - Add "pre-computed" q1/median/q3 input signature for
boxtraces [#4432] - Add support for legend titles [#4386]
- Add legend items for
choropleth,choroplethmapbox,cone,densitymapbox,
heatmap,histogram2d,isosurface,mesh3d,streamtube,
surface,volumetraces [#4386, #4441] - Add "auto-fitting" behavior to geo subplots via
geo.fitboundsattribute [#4419] - Add support for custom geojson geometries in
choropleth
andscattergeotraces [#4419] - Add "exclusive" and "inclusive" quartile-computing algorithm to
boxtraces
viaquartilemethodattribute [#4432] - Add
insidetextorientationattribute topieandsunbursttraces [#4420] - Add
intensitymodeto allow cell intensity values inmesh3dtraces [#4446] - Add
featureidkeyattribute tochoroplethmapbox,choropleth
andscattergeotraces [#4419] - Add
geo.visibleshortcut attribute [#4419] - Add coordinates of mapbox subplot view as a derived property in
plotly_relayout
event data [#4413] - Add modebar buttons
zoomInMapboxandzoomOutMapbox[#4398] - Add support for typed array in
groupbytransformsgroups[#4410] - Add
notifyOnLoggingconfig option that allows log/warn/error messages
to show up in notifiers pop-ups [#4464] - Enable loading locale bundles before plotly.js bundles [#4453]
- Add Korean
kolocale [#4315]
Changed
- Skip mapbox subplot map position updates while panning/zooming removing
potential stuttering [#4418] - Optimize mapbox
rasterlayout layer updates [#4418] - Improve
sunburstandtreemapclick events behavior [#4454] - Improve attribute description of sunburst/treemap
outsidetextfont[#4463] - Update source and dist file headers to 2020 [#4457]
Fixed
- Fix
streamtubetraces with numeric string coordinates
(bug introduced in 1.51.0) [#4431] - Correctly handle different data orders in
isosurfaceandvolumetraces [#4431] - Fix symbol numbers in
scatterglandsplomtraces [#4465] - Fix
coloraxiscolorbars forsunburstandtreemapwith
values colorscales [#4444] - Fix inside text fitting for
bar,funnelandwaterfalltraces with
settextangle[#4444] - Fix handling of invalid values and zero totals for
pieandfunnelarea[#4416] - Fix colorbar of
reversescalecolorscales of heatmap-coloring contours [#4437] - Fix colorbar templating for "non-root" colorscales [#4470]
- Fix event data and some hover templates for x/y/z heatmap + contour [#4472]
- Fix "toggleothers" behavior for graphs with traces not in legend [#4406]
- Fix
histogrambingroup logic whencalendarsmodule is not registered [#4439] - Fix "almost equal"
branchvalue: 'total'partial sum cases [#4442] - Fix handling of
treemappathbar.textfont[#4444]
v1.51.3
v1.51.2
Fixed
- Fix
texttemplateformatting on axes that define tick prefixes and suffixes [#4380, #4384] - Fix
cminandcmaxcomputations during color value updates on shared color axes [#4366] - Fix
contourandhistogram2dcontourlegend item rendering whenreversescaleis turned on [#4356] - Fix
contourandhistogram2dcontourlegend item rendering when set to a shared color axis [#4356] - Handle missing
vertexcolorandfacecolorduringmesh3drendering [#4353] - No longer coerce
contourandcolorscaleattributes formesh3dwhen not needed [#4346] - Remove a duplicate function call in
parcoordscode [#4357] - Include
opacityin thesurfacetrace plot schema [#4344] - Mention
legend.bgcolordefault in attribute description [#4362]
v1.51.1
v1.51.0
Added
- Add
imagetrace type [#4289, #4307, #4313, #4319] - Add
automarginattribute in pie traces, enabling outside text labels
to push the margins [#4278] - Add
title.standoffattribute to cartesian axes, setting the
distance in pixels between the tick labels and the axis title [#4279] - Add
hoverongapsattribute toheatmapandcontourtraces,
for suppressing hover labels on missing data [#4291] - Add
args2attribute toupdatemenusbuttons which can be used to
create toggle buttons [#4305] - Add
zh-CNlocale [#4276, #4310]
Changed
- Introduce workarounds for "common" (aka axis) hover label clipping
about the graph's viewport [#4298] - No longer accept trace
domainsettings where end is not greater
than start [#4304]
Fixed
- Fix
streamtubecoloring and positioning when generated
with non-xyzgrid signatures [#4271] - Fix trace-type update calls on mapbox subplots [#4295]
- Fix width of
boxandviolinitems on log position axes [#4283] - Fix box/meanline offset for one-sided vertical
violintraces [#4314] - Fix missing gaps in some
scatterglline traces [#4316] - Fix event data during scroll on gl3d subplots with orthographic projections [#4292]
- Handle data with identical positions in
conetraces [#4306] - Handle invalid entry before trying to render
treemaptrace [#4312] - Fix
heatmapandcontourdescription forconnectgaps[#4284]
v1.50.1
Fixed
- Guard against mirrored + automargin
anchor:'free'axes (bug introduced in 1.50.0) [#4273] - Fix
streamtubetracestartscase when missing a dimension [#4265] - Fix
scatterglperformance for drawing legend items of traces with typed arrays [#4268] - Fix legend item style for markers with typed array colors [#4268]
- Do not attempt to re-hover on exiting subplots [#4269]
- Fix "layout first" transition race condition [#4262]
v1.50.0
Added
- Add
treemaptrace type [#4185, #4219, #4227, #4242] - Add
texttemplateattribute to all traces that support on-graph text [#4071, #4179] - Add date custom formatting in
hovertemplateandtexttemplatee.g.
'%{x|%b %-d, %Y}'[#4071] - Add transition support to
bartrace length, width, on-graph text positioning,
marker style and error bars [#4180, #4186] - Add attribute
count, colorscale support and manyhoverinfo/textinfoflags
tosunbursttraces [#4185, #4245] - Add constraint info to
parcatsclick and hover events [#4211] - Add support for legend scrolling via touch interactions [#3873, #4214]
- Add
ruanduklocales [#4204] - Publish minified dist npm packages for the main plotly.js bundle and
all our partial bundles [#4169]
Changed
- Cap the number of redraws triggered by the auto-margin routine,
which should prevent all potential infinite redraw loops [#4216] - Improve cartesian axis draw performance by (1) computing its bounding box
only when required and (2) using a bounding-box computation cache [#4165] - Log message when margin-push values are too big to be considered during
auto-margin computations [#4160] - Log message when legend position is constrained into graph viewbox [#4160]
- Process layout image using data URI synchronously [#4105]
- Adapt default axis ranges to
rangemodevalues'tozero'and'nonnegative'[#4171] - Show zeroline even when no grid lines are present [#4189]
- Use
mapbox-glversion 1.3.2 [#4230] - Make
touchmoveevent listener non passive on mobile drag [#4231] - Improve
streamtubetrace description [#4181] - Improve
indicatortrace description [#4246] - Improve legend
xandyattribute descriptions [#4160]
Fixed
- Fix attempt at fixing gl3d in Chrome 77 problems [#4256]
- Fix numerous legend positioning bugs [#4160]
- Fix numerous axis
automarginbugs [#4165, #4216] - Correctly handle
<br>and\ninscattermapboxon-graph text [#4176] - Fix
scatterglhover over nulls (bug introduced in 1.45.0) [#4213] - Correctly remove off-screen annotations during pan interactions
(bug introduced in 1.40.0) [#4170] - Fix
contourandcontourcarpetlabel formatting via colorbar settings
(bug introduced in 1.48.0) [#4177] - Fix background rectangle dimensions for horizontal grouped legends [#4160]
- Correctly handle non-linear axis types during transitions [#4249]
- Fix
branchvalues: 'total'for generated sunburst sectors [#4253] - Fix
Download plottranslations [#4148] - Fix
frtranslations for "Click to enter --- title" [#4204] - Fix tiny zoombox behavior [#4188]
- Fix rendering of constraint contours with rounded-off edge path [#4102]
- Fix "autoscale" modebar button bug where it sometimes toggled axis
showspikes[#4241] - Fix multi-axis transition axis-to-axis range "leaks" [#4167]
- Fix
toggleHoverandresetViewsmodebar buttons for
some partial bundle + graph setups [#4184] - Correctly list
color-rgbamodule as dependency [#4207] - Fix third-party dependency listing for
gl-cone3dandgl-streamtube3d[#4208, #4215] - Fix
line.widthattr declaration in*contourtraces [#4218] - Remove hover attribute from
carpetandcontourcarpetschema
(as they do not support hover yet) [#4102]