Skip to content

Releases: plotly/plotly.js

v1.19.0

27 Oct 18:18
Compare
Choose a tag to compare

Unpublished on npm and CDN due to broken dist bundles.

Added

  • Add two-argument Plotly.plot call signature [#1014]
  • Add two-way binding functionality to updatemenus and sliders [#1016]
  • Add width, base and offset attribute to bar trace [#1075]
  • Add fromcurrent and direction animation options [#1087]
  • Add ability to filter by arbitrary array [#1062]

Changed

  • Rename filtersrc filter transform attribute target (with
    backward-compatible map) [#1062]
  • Bump sane-topojson requirement to 2.0.0. New topojson dist files fix
    the Michigan state border [#1077]
  • scattergl now handles higher resolution dates [#1033]
  • Improve error messages in Plotly.animate [#1088]

Fixed

  • Plotly.newPlot now respect user-defined layout height and width [#537]
  • Fix dendrogram cartesian axis layers [#1063]
  • Fix RGBA colorscale handler for contour [#1090]
  • Fix gl2d axis title positioning [#1067]
  • Fix gl2d multi-line axis tick labels display [#1087]
  • Fix performance deficit of scattergl trace type with date coordinates [#1021]
  • Fix ohlc trace offset computation [#1066]
  • Fix ohlc and candlestick default trace names [#1073]
  • Make Plotly.animate work with frames container array containers (e.g
    annotations) [#1081]
  • Make restyle and relayout consistently remove items in array containers
    when called with value argument null [#1086]

v1.18.1

18 Oct 13:54
Compare
Choose a tag to compare

Fixed

  • Fix cartesian subplot resize [#1049]
  • Fix cartesian interactivity after click [#1049]
  • Fix scattergeo traces with not-found country names [#1046]
  • Honor 'name' hoverinfo flag in ohlc traces [#1050]
  • Fix animation merging for frames including array containers [#1041, #1048]
  • Fix requestAnimationFrame polyfill for script-tag imports [#1039]

v1.18.0

13 Oct 14:30
Compare
Choose a tag to compare

Added

  • Add ohlc and candlestick trace types [#1020]
  • Add slider layout component [#986, #1029]
  • Add filter and groupby transforms [#936, #978]
  • Add support for all cartesian trace types and subplot configuration in
    range slider range plots [#946, #1017]
  • Add update menus 'buttons' type, direction and showactive options [#974]
  • Add pad attributes to update menus for more intuitive positioning [#989]
  • Add plotly_hover, plotly_click and plotly_unhover event emitters
    on gl2d subplot [#994]
  • Make 'text' mode scatter traces animatable [#1011]
  • Add picking for 'line' mode scattergeo traces [#1004]
  • Add support for fill: 'toself' in scattergeo traces [#1004]

Changed

  • Allow null / undefined frames in Plotly.addFrames[#1013]

Fixed

  • Allow range sliders to properly relayout [#962]
  • Fix handling of NaN gaps in range slider range plots [#946, #1017]
  • Properly skip over NaNs in scattergeo data arrays [#1004]
  • Fix handling graph div with style visibility: inherit [#990]
  • Fix Plotly.update for updates that require a full data + layout replot [#971]
  • Let update menus use Plotly.update method value [#972]
  • Fix tickfont relayout call on 3D subplot [#982]

v1.17.3

22 Sep 16:35
Compare
Choose a tag to compare

Fixed

  • Fix scatter text node translations on range relayout [#956]
  • Fix Plotly.restyle for scatter trace mode [#956]
  • Fix color mapping discontinuity in surface trace with circular colorscale
    [#959]
  • Fix Plotly.redraw when scatter traces are added to the graph [#947]
  • Fix double click side-effects in gl2d plots [#958]
  • Emit event animatingframe frame during animations [#953]

v1.17.2

12 Sep 21:05
Compare
Choose a tag to compare

Fixed

  • 3D colored axis backgrounds and axis labels are rendered again (bug introduced
    in 1.17.0) [#931]

v1.17.1

09 Sep 18:27
Compare
Choose a tag to compare

Fixed

  • Restyling visible to false on all scatter traces present on a graph
    is now working again (bug introduced in 1.17.0) [#920]
  • Relayouting paper_bgcolor now properly propagate to legend
    and updatemenu `bgcolor [#921]
  • Mapbox plot routine no longer make request to public Mapbox server
    when linked to a Mapbox Atlas instance [#919]

v1.17.0

08 Sep 14:11
Compare
Choose a tag to compare

Added

  • Add support for animations for scatter trace [#802]
  • Add frames and animate API -> Plotly.animate, Plotly.addFrames and
    Plotly.deleteFrames [#802]
  • Add Plotly.update method which can perform data and layout updates in one
    call [#875]
  • Add pointcloud gl2d trace type [#850, #869]
  • Add xgap and ygap to heatmap traces to define space between heatmap bricks
    [#868]
  • Add separatethousands axis attribute which determines whether four-digit
    numbers are separated or not [#848]
  • Add 'skip' value to trace hoverinfo corresponding to traces transparent to
    the hover picking routine [#851]
  • Add support for trace opacity in toself filled trace [#896]
  • Add global transform config option [#852]
  • Add requestAnimationFrame polyfill to dist/extras/ [#904]

Changed

  • Explicitly skip undefined props on restyle and relayout [#844]
  • Removed a few circular dependency patterns [#833, #837, #845, #878]

Fixed

  • Fix legend trace toggle background attributes on restyle [#909]
  • Make 'yanchor' default be its intended value of 'top' [#894]
  • Fix box plot jitter algorithm when IQR = 0 [#915]
  • Fix box plot jitter algorithm when data range is 0 [#915]
  • Fix mapbox event firing duplicates [#901]
  • Fix mapbox visible false traces handling on first draw [#900]
  • Avoid draw buffer to display buffer copy in gl2d plots [#843]
  • Do not extend data array on event emission [#842, #866]
  • Make Plotly.redraw throw an error when called on non plotly graph div [#907]
  • Make plotly.min.js work when injected in Require.js environment [#914]

v1.16.3

23 Aug 14:46
Compare
Choose a tag to compare

Fixed

  • Fix SVG exports for graphs with layout images [#846]
  • Properly handles duplicate categories in non-default categoryorder [#863]
  • Fix range selector position logic for overlaying axes [#873]
  • Autorange is now properly computed for heatmapgl and contourgl traces [#855,
    #874]
  • Trace toggling via legend preserves axis ranges in gl2d plots [#855, #874]
  • Bump mapbox-gl dependency to 0.22.0 [#867]

v1.16.2

09 Aug 18:16
Compare
Choose a tag to compare

Fixed

  • Fix decoding for the supported HTML entities (bug introduced in 1.16.0) [#835]
  • Fix layout images position on subplots [#831]
  • Fix a few cartesian autorange edge cases [#813]

v1.16.1

05 Aug 16:35
Compare
Choose a tag to compare

Changed

  • Drop support for plotting in child windows which broke Plotly.plot in
    some numerous browsers (e.g. FF46, FF47, FF48) [#829]