Skip to content

Releases: plotly/plotly.js

v1.50.0

07 Oct 17:42

Choose a tag to compare

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 and texttemplate 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 many hoverinfo / textinfo flags
    to sunburst 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 and uk 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 and y 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 in scattermapbox 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 and contourcarpet 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 and resetViews 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 and gl-streamtube3d [#4208, #4215]
  • Fix line.width attr declaration in *contour traces [#4218]
  • Remove hover attribute from carpet and contourcarpet schema
    (as they do not support hover yet) [#4102]

v1.49.5

18 Sep 14:29

Choose a tag to compare

Fixed

  • Clear rejected promises from queue when calling Plotly.react [#4197]
  • Do not attempt to remove non-existing mapbox layout source and layers [#4197]
  • Invalid mapbox layout layers with blank-string tile entries [#4197]
  • Fix hover labels for choroplethmapbox with number locations items [#4197]

v1.49.4

22 Aug 14:18

Choose a tag to compare

Fixed

  • Fix access token validation logic for custom mapbox style URLs
    (regression introduced in 1.49.0) [#4144]
  • Fix rendering of cartesian ticks under mirror: 'all' [#4140]

v1.49.3

20 Aug 16:23

Choose a tag to compare

Fixed

  • Fix graphs with visible: false sankey traces [#4123]
  • Fix scattergl with mode: 'text' and text arrays longer
    than the coordinates arrays [#4125, #4126]
  • Fix rangeslider positioning when left margin is pushed
    by other components [#4127]

v1.49.2

13 Aug 15:48

Choose a tag to compare

Fixed

  • Fix gl3d hover behavior when multiple points share identical position [#4096]
  • Fix mapbox-gl@1.1.1 dependency version listing in package.json [#4094]
  • Fix decimal and thousands separator declaration for Italian (it) locale [#4122]
  • Fix indicator steps attribute declaration [#4115]
  • Performance fix - use Axes.prepTicks (not Axes.calcTicks) for indicator
    number and delta formatting [#4099]

v1.49.1

31 Jul 15:03

Choose a tag to compare

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

24 Jul 14:33

Choose a tag to compare

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 and white-bg
    that do not require a Mapbox access token [#3987, #4068]
  • Add support for sourcetype value raster and image and type raster
    for mapbox layout layers [#4006]
  • Add below attribute to scattermapbox traces [#4058]
  • Add support for below: 'traces' in mapbox layout layers [#4058]
  • Add sourceattribution attribute to mapbox layout layers [#4069]
  • Add labelangle and labelside attributes to parcoords traces [#3966]
  • Add doubleClickDelay config option [#3991]
  • Add showEditInChartStudio config option [#4061]

Changed

  • Bump mapbox-gl to v1.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 during Plotly.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 for choropleth traces [#3988]
  • Fix scatter3d and scattergl handling of rgb 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
    for waterfall traces [#3963]
  • Fix hovertemplate default number formatting for
    choropleth, scattergeo, scatterpolar(gl), barpolar
    and scatterternary 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 for box and violin 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 when editable: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]

v1.48.3

13 Jun 20:42

Choose a tag to compare

Fixed

  • Fix hoverinfo and hovertemplate behavior for funnel traces [#3958]

v1.48.2

11 Jun 21:10

Choose a tag to compare

Fixed

  • Fix rendering after 1d -> 2d -> 1d drag motion
    under dragmode: 'zoom' (bug introduced in 1.48.0) [#3950]
  • Fix for scattergl hover and click events to give the 'top' point
    instead of the 'bottom' point [#3924]
  • Fix contour label rendering for non-monotonically increasing x/y [#3934]
  • Fix carpet axis title position for decreasing a/b coords [#3927]
  • Fix multiple single-valued overlaid autobinned histogram edge case [#3935]
  • Fix parcoords tickvals and ticktext documentation [#3925]

v1.48.1

30 May 19:05

Choose a tag to compare

Fixed

  • Fix single-sample-point histogram2d traces with set bins settings [#3922]
  • Fix bingroup attributes for histogram2dcontour traces [#3922]
  • Fix hover label content on empty histogram2d bins [#3922]