Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.51.1
v1.51.0
Added
- Add
image
trace type [#4289, #4307, #4313, #4319] - Add
automargin
attribute in pie traces, enabling outside text labels
to push the margins [#4278] - Add
title.standoff
attribute to cartesian axes, setting the
distance in pixels between the tick labels and the axis title [#4279] - Add
hoverongaps
attribute toheatmap
andcontour
traces,
for suppressing hover labels on missing data [#4291] - Add
args2
attribute toupdatemenus
buttons which can be used to
create toggle buttons [#4305] - Add
zh-CN
locale [#4276, #4310]
Changed
- Introduce workarounds for "common" (aka axis) hover label clipping
about the graph's viewport [#4298] - No longer accept trace
domain
settings where end is not greater
than start [#4304]
Fixed
- Fix
streamtube
coloring and positioning when generated
with non-xyz
grid signatures [#4271] - Fix trace-type update calls on mapbox subplots [#4295]
- Fix width of
box
andviolin
items on log position axes [#4283] - Fix box/meanline offset for one-sided vertical
violin
traces [#4314] - Fix missing gaps in some
scattergl
line traces [#4316] - Fix event data during scroll on gl3d subplots with orthographic projections [#4292]
- Handle data with identical positions in
cone
traces [#4306] - Handle invalid entry before trying to render
treemap
trace [#4312] - Fix
heatmap
andcontour
description forconnectgaps
[#4284]
v1.50.1
Fixed
- Guard against mirrored + automargin
anchor:'free'
axes (bug introduced in 1.50.0) [#4273] - Fix
streamtube
tracestarts
case when missing a dimension [#4265] - Fix
scattergl
performance 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
treemap
trace type [#4185, #4219, #4227, #4242] - Add
texttemplate
attribute to all traces that support on-graph text [#4071, #4179] - Add date custom formatting in
hovertemplate
andtexttemplate
e.g.
'%{x|%b %-d, %Y}'
[#4071] - Add transition support to
bar
trace length, width, on-graph text positioning,
marker style and error bars [#4180, #4186] - Add attribute
count
, colorscale support and manyhoverinfo
/textinfo
flags
tosunburst
traces [#4185, #4245] - Add constraint info to
parcats
click and hover events [#4211] - Add support for legend scrolling via touch interactions [#3873, #4214]
- Add
ru
anduk
locales [#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
rangemode
values'tozero'
and'nonnegative'
[#4171] - Show zeroline even when no grid lines are present [#4189]
- Use
mapbox-gl
version 1.3.2 [#4230] - Make
touchmove
event listener non passive on mobile drag [#4231] - Improve
streamtube
trace description [#4181] - Improve
indicator
trace description [#4246] - Improve legend
x
andy
attribute descriptions [#4160]
Fixed
- Fix attempt at fixing gl3d in Chrome 77 problems [#4256]
- Fix numerous legend positioning bugs [#4160]
- Fix numerous axis
automargin
bugs [#4165, #4216] - Correctly handle
<br>
and\n
inscattermapbox
on-graph text [#4176] - Fix
scattergl
hover 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
contour
andcontourcarpet
label 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 plot
translations [#4148] - Fix
fr
translations 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
toggleHover
andresetViews
modebar buttons for
some partial bundle + graph setups [#4184] - Correctly list
color-rgba
module as dependency [#4207] - Fix third-party dependency listing for
gl-cone3d
andgl-streamtube3d
[#4208, #4215] - Fix
line.width
attr declaration in*contour
traces [#4218] - Remove hover attribute from
carpet
andcontourcarpet
schema
(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
indicator
steps
attribute declaration [#4115] - Performance fix - use
Axes.prepTicks
(notAxes.calcTicks
) forindicator
number and delta formatting [#4099]
v1.49.1
Fixed
- Fix
parcoords
bug when dimension values are all zeroes (bug introduced in 1.49.0) [#4080] - Fix
parcoords
select line rendering when constraint range falls below range [#4083] - Fix
parcoords
select line rendering when selecting outside displayed axis range [#4087] - Fix
parcoords
select by click when preceded by click away from axis [#4089] - Fix
mapbox.style
values in attribution declaration [#4079] - Remove unused variable from
scatter3d
shader [#4090]
v1.49.0
Added
- Add
indicator
traces [#3978, #4007, #4014, #4037, #4029] - Add
choroplethmapbox
traces [#3988] - Add
densitymapbox
traces [#3993] - Add new mapbox
style
values:open-street-map
,carto-positron
,carto-darkmatter
,
stamen-terrain
,stamen-toner
,stamen-watercolor
andwhite-bg
that do not require a Mapbox access token [#3987, #4068] - Add support for
sourcetype
valueraster
andimage
andtype
raster
for mapbox layout layers [#4006] - Add
below
attribute toscattermapbox
traces [#4058] - Add support for
below: 'traces'
in mapbox layout layers [#4058] - Add
sourceattribution
attribute to mapbox layout layers [#4069] - Add
labelangle
andlabelside
attributes toparcoords
traces [#3966] - Add
doubleClickDelay
config option [#3991] - Add
showEditInChartStudio
config option [#4061]
Changed
- Bump
mapbox-gl
tov1.1.1
[#3987, #4035] - Include source attribution on mapbox subplots and image exports [#4069]
- Improve mapbox error messages and attribute descriptions [#4035]
- Do not try to resize hidden graph divs under
responsive:true
[#3972] - Improve robustness of
sankey
traces with circular links [#3932] - Use
URL.createObjectURL
duringPlotly.toImage
and
Plotly.downloadImage
improving performance [#4008] - Make
parcoords
pick layer 100% invisible [#3946] - (dev-only) drop "pull-font-svg" pre-process step [#4062]
Fixed
- Fix rendering of geo traces with
locationmode
and no base layers
(bug introduced in 1.48.0) [#3994] - Fix lakes and rivers geometry on scoped geo subplots
(bug introduced in 1.48.0) [#4048] - Fix
heatmap
rendering for traces with extra categorical coordinates
(bug introduced in 1.48.0) [#4038] - Do not show zero-height bar rendering when their
marker.line.width
is zero
(bug introduced in 1.48.3) [#4056] - Do not show prefix and suffix on log axis minor ticks showing digits [#4064]
- Fix inconsistent
parcoords
behavior when data is outside range [#3794] - Fix
parcoods
default tick formatting [#3966, #4011, #4013] - Fix pseudo-html and MathJax rendering for
parcoords
traces [#3966] - Fix
marker.line.color
default forchoropleth
traces [#3988] - Fix
scatter3d
andscattergl
handling ofrgb
colors
with extra alpha values [#3904, #4009] - Fix zoomed-in box/violin hover labels edge cases [#3965]
- Fix
hoverinfo
&hovertemplate
initial, delta and final flags
forwaterfall
traces [#3963] - Fix
hovertemplate
default number formatting for
choropleth
,scattergeo
,scatterpolar(gl)
,barpolar
andscatterternary
traces [#3968] - Remove
sliders
/updatemenus
command observer mutation [#4023] - Fix plot-schema
anim
listing for traces that do not (yet) animate [#4024] - Fix
rangeslider
style during selections [#4022] - Fix per-value
categoryorder
forbox
andviolin
traces [#3983] - Fix handling of non-numeric
marker.line.width
array items [#4056, #4063] - Fix
downloadImage
for images of more than 2MB in size in Chrome [#4008] - Fix
plotly_clickannotation
triggering wheneditable:true
[#3979] - Remove unused
font-atlas-sdf
dependency [#3952] - Fix
tickformat
attribute description links to d3 formatting language [#4044] - Fix typo in
error_(x|y).type
description [#4030] - Fix typo in
colorscale
description [#4060]