Skip to content

Releases: plotly/plotly.js

v1.38.3

11 Jun 20:16
Compare
Choose a tag to compare

Fixed

  • Fix cone axis padding when under sizemode: 'absolute' [#2715]
  • Fix cone scaling on irregular grids [#2715]
  • Fix cone sizemode: 'absolute' scaling and attribute description [#2715]
  • Improve cone hover picking [#2715]
  • Fix exception during histogram cross-trace computations [#2724]
  • Fix handling of custom transforms that make their own data arrays [#2714]

v1.38.2

04 Jun 14:16
Compare
Choose a tag to compare

Fixed

  • Fix bar text removal (bug introduced in 1.36.0) [#2689]
  • Fix handling number 0 in hover labels and on-graph text [#2682]

v1.38.1

29 May 17:26
Compare
Choose a tag to compare

Fixed

  • Fix transforms on scattergl traces [#2677]
  • Fix marker.line.width scaling in scattergl traces [#2677]
  • Fix [un]selected.marker.size scaling in scattergl traces [#2677]
  • Create two not three WebGL contexts for scattergl/splom graphs
    (bug introduced 1.36.0) [#2656]
  • Fix z updates of interpolated values on heatmap and contour traces with gaps [#2657]
  • Fix select/pan double-click behavior when relayout from one another
    (bug introduced in 1.36.0) [#2668]
  • Fix shift selection behavior after pan/scroll
    (bug introduced in 1.36.0) [#2676]

v1.38.0

23 May 13:00
Compare
Choose a tag to compare

Added

  • Add 3D cone traces to visualize vector fields [#2641, #2647]
  • Add ability to interactively change length and rotate line shapes [#2594]
  • Add toImageButtonOptions config object to override to-image mode bar button options [#2607]
  • Add Brazilian Portuguese (pt-br) locale [#2622]
  • Add Italian (it) locale [#2632]

Changed

  • Improve cartesian scroll and pan (mostly) performance for graphs with
    many marker or/and text nodes [#2623]
  • Improve splom first render and axis-range relayout performance [#2628]
  • Improve multi-axis axis-range relayout performance by updating minimal set of
    axes instead of all axes [#2628]
  • Use "grab" cursor to denote when annotations and shapes are draggable [#2594]
  • Ignore zero and negative link values in sankey traces [#2629]
  • Ignore unused and malformed links sankey traces without logging [#2629]

Fixed

  • Fix scattergl error bar computations when input value are numeric strings [#2620]
  • Fix scattergl error bar computations for x0/dx and y0/dy coordinates [#2620]
  • Fix violin kde span edge cases [#2650]
  • Make sankey traces accept numeric strings [#2629]
  • Fix axis range edits under axis constraints [#2620]
  • Fix "sloppy click" event emission during cartesian zoom [#2649]
  • Fix layout grid validation which lead to exceptions [#2638]
  • Fix parcoords rendering in old Safari version [#2612]
  • Link to https://get.webgl.org instead of http version in no WebGL message [#2617]

v1.37.1

02 May 19:48
Compare
Choose a tag to compare

Fixed

  • Fix Plotly.react when adding/removing traces (bug introduced in 1.37.0) [#2603]

v1.37.0

01 May 22:42
Compare
Choose a tag to compare

Added

  • Add plotly_legendclick and plotly_legenddoubleclick events [#2581]
  • Add Swahili (sw) locale [#2526]

Changed

  • Improve cartesian trace update and removal by using more d3-iomatic patterns.
    This results in some performance improvements during redraws [#2574]
  • Our internal Lib.nestedProperty no longer prunes empty containers in
    gd.data, gd.layout, gd._fullData and gd._fulllayout.
    We made this change to clean up some of the Plotly.react internals.
    This also lead to a slight performance boost [#2577]

Fixed

  • Fix Plotly.react's handling of transformed traces [#2577]
  • Fix Safari support for scattergl and splom traces [#2593]
  • Fix scattergl point clustering edge cases [#2593]
  • Fix scattergl selection after double-click on graphs
    with more than 1e5 points [#2593]
  • Fix artificial number of lines limit in scattergl traces [#2568]
  • Fix typed array support in color array in scattergl traces [#2596]
  • Fix typed array support for splom traces [#2596]
  • Make scatter and scattercarpet coexist on same subplot [#2574]
  • Fix incorrect fallback border color for axis common hover labels [#2557]
  • Fix handling of blank editable legend items [#2587]
  • Fix spikelines positioning in Firefox [#2590]
  • Fix Plotly.react modebar updates when the locale changes [#2592]
  • Fix scatter selection performance regression (dating back to 1.32.0) [#2583]
  • Fix plotly_beforeplot and plotly_beforehover event handlers when attached
    with gd.once [#2581]

v1.36.1

18 Apr 17:42
Compare
Choose a tag to compare

Fixed

  • Fix scattergl hover in dist and CDN bundles
    (due to browser-pack-flat discrepancy introduced in 1.36.0)
    by removing browser-pack-flat from our bundling pipeline [#2572]

v1.36.0

17 Apr 18:34
Compare
Choose a tag to compare

Added

  • Add splom (aka scatter plot matrix) traces [#2505]
  • Add multi-selection and click-to-select on parcoords axes [#2415]
  • Add selection and improve legend items for ohlc and candlestick [#2561]
  • Add 'fixed size' layout shapes through new shape attributes
    xsizemode, ysizemode, xanchor and yanchor [#2532]
  • Add layout attribute selectdirection to restrict select-box direction [#2506]
  • Add support for selections on graphs with range sliders [#2561]
  • Add support for ragged table inputs [#2511]
  • Add Czech (cs) locale [#2483]
  • Add Japanese (ja) locale [#2558]

Changed

  • Multiple performance improvements for cartesian subplots, most noticeable
    on graphs with many cartesian subplots [#2474, #2487, #2527]
  • Use new gl-mesh3d version that attempts to make lighting results less
    hardware-dependent [#2365]
  • New and improved point-clustering algorithm for scattergl [#2499]
  • Improved regl-line2d component [#2556]

Fixed

  • Fix memory leak in parcoords traces [#2415]
  • Fix scattergl selectedpoints clearance under select/lasso drag modes [#2492]
  • Fix scattergl horizontal lines rendering [#2564]
  • Fix scattergl unselected marker opacity for array marker opacity traces [#2503]
  • Fix scattergl hover over data gaps [#2499]
  • Fix ohlc on category axes [#2561]
  • Fix inconsistencies in ohlc and candlestick event data [#2561]
  • Fix hover text for candlestick traces [#2561]
  • Fix scattermapbox selections for traces with data gaps [#2513]
  • Fix table border cases that got previously cut off [#2511]
  • Fix box traces with one jittered outlier [#2530]
  • Fix cliponaxis: false on reversed axes [#2533]
  • Fix buggy plot_bgcolor rendering when updating axis overlaying attribute [#2516]
  • Fix buggy Plotly.react behavior for carpet, contourcarpet, scattercarpet,
    table and x/y/z column heatmap traces [#2525]
  • Fix buggy Plotly.react behavior for ohlc and candlestick traces [#2561]
  • Fix ordered categories on graphs with visible: false traces [#2489]
  • Fix ordered categories in multi-subplot graphs [#2489]
  • Fix inconsistencies when ordering number and numeric string categories [#2489]
  • Fix format days in English locale [#2490]
  • Handle HTML links with encoded URIs correctly in svg text labels [#2471]

v1.35.2

09 Mar 16:33
Compare
Choose a tag to compare

Fixed

  • Pin mapbox-gl to 0.44.1 so that users on fresh
    npm install do not get the wrong mapbox-gl version message [#2467]
  • Fix swapping between scatter and scatter3d traces and other
    potential problems caused by incorrect axis constraints resetting [#2465]

v1.35.1

09 Mar 02:53
Compare
Choose a tag to compare

Fixed

  • Fix scatterpolar in dist and CDN bundles
    (due to browser-pack-flat discrepancy introduced in 1.35.0) [#2458]
  • Fix removing and adding scatter(gl) as not the first module [#2455]
  • Ensure we don't draw ticks if there are none to draw [#2454]