Releases: plotly/plotly.js
Releases · plotly/plotly.js
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]
v1.49.5
v1.49.4
v1.49.3
v1.49.2
Fixed
- Fix gl3d hover behavior when multiple points share identical position [#4096]
- Fix
[email protected]dependency version listing inpackage.json[#4094] - Fix decimal and thousands separator declaration for Italian (
it) locale [#4122] - Fix
indicatorstepsattribute declaration [#4115] - Performance fix - use
Axes.prepTicks(notAxes.calcTicks) forindicator
number and delta formatting [#4099]