Skip to content

Releases: plotly/plotly.js

v1.51.3

16 Dec 15:47

Choose a tag to compare

Fixed

  • Fix Plotly.Plots.resize edge cases ensuring now that
    its promises always resolve [#4392]
  • Fix position of link hover labels in vertical sankey [#4404]
  • Fix box autorange for traces with "inverted" notched [#4388]

v1.51.2

25 Nov 17:39

Choose a tag to compare

Fixed

  • Fix texttemplateformatting on axes that define tick prefixes and suffixes [#4380, #4384]
  • Fix cmin and cmax computations during color value updates on shared color axes [#4366]
  • Fix contour and histogram2dcontour legend item rendering when reversescale is turned on [#4356]
  • Fix contour and histogram2dcontour legend item rendering when set to a shared color axis [#4356]
  • Handle missing vertexcolor and facecolor during mesh3d rendering [#4353]
  • No longer coerce contour and colorscale attributes for mesh3d when not needed [#4346]
  • Remove a duplicate function call in parcoords code [#4357]
  • Include opacity in the surface trace plot schema [#4344]
  • Mention legend.bgcolor default in attribute description [#4362]

v1.51.1

04 Nov 14:53

Choose a tag to compare

Fixed

  • Fix scattergl mising points plot and react (bug introduced in 1.33.0) [#4323]
  • Skip non-numeric values in image trace plot [#4325]

v1.51.0

29 Oct 20:51

Choose a tag to compare

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 to heatmap and contour traces,
    for suppressing hover labels on missing data [#4291]
  • Add args2 attribute to updatemenus 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 and violin 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 and contour description for connectgaps [#4284]

v1.50.1

15 Oct 17:57

Choose a tag to compare

Fixed

  • Guard against mirrored + automargin anchor:'free' axes (bug introduced in 1.50.0) [#4273]
  • Fix streamtube trace starts 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

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]