Skip to content

Releases: plotly/plotly.js

v2.35.2

10 Sep 20:58
Compare
Choose a tag to compare

Fixed

  • Fix require path to maplibre-gl.css (regression introduced in 2.35.1) [#7146],
    with thanks to @birkskyum for the contribution!

v2.35.1

09 Sep 18:45
Compare
Choose a tag to compare

Fixed

  • Fix rendering traces with zorder on overlayed subplots case of multiple traces in each subplot [#7141]
  • Fix missing CSS for map(maplibre) subplots when used offline [#7140],
    with thanks to @birkskyum for the contribution!

v2.35.0

29 Aug 15:33
Compare
Choose a tag to compare

Added

Changed

  • Deprecate mapbox traces and mapbox subplot [#7087]
  • Drop obsolete npm v6 installation [#7095]
  • Use Node.js v18 and npm v10 in development [#7078]
  • Update npm lockfile to v3 [#7099]
  • Update turf to v7 [#7116]

Fixed

  • Fix centroid calculation in turf [#7115],
    with thanks to @birkskyum for the contribution!
  • Fix missing cursor for Ternary Plot[#7057],
    with thanks to @Lexachoc for the contribution!
  • Elaborate on the Custom Bundle guide [#7101]

v2.34.0

18 Jul 12:57
Compare
Choose a tag to compare

Added

  • Add subtitle attribute to layout.title to enable adding subtitles to plots [#7012]
  • Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [#7043]
  • Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to category_order on cartesian axes [#6223],
    with thanks to @acxz and @prabhathc for the contribution!
  • Add axis property ticklabelindex for drawing the label for each minor tick n positions away from a major tick,
    with thanks to @my-tien for the contribution! [#7036]
  • Add property ticklabelstandoff and ticklabelshift to cartesian axes to adjust positioning of tick labels,
    with thanks to @my-tien for the contribution! [#7006]
  • Add x0shift, x1shift, y0shift, y1shift to shapes to add control over positioning of shape vertices on (multi-)category axes,
    with thanks to @my-tien for the contribution! [#7005]

Fixed

  • Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [#7018],
    with thanks to @eiriklv for the contribution!
  • Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [#6954],
    with thanks to @mbant for the contribution!
  • Fix adding cartesian "togglehover" when included in modebar.add [#5879],
    with thanks to @Sizurka for the contribution!
  • Handle zorder between overlaying cartesian subplots [#7032],
    This feature was anonymously sponsored: thank you to our sponsor!

v2.33.0

29 May 09:27
Compare
Choose a tag to compare

Added

  • Add support for numeric text font weight [#6990]
  • Add shadow, lineposition and textcase options to SVG fonts [#6983]

Fixed

  • Fix unicode variable names in @plotly/d3 [#6992],
    with thanks to @GeorchW for the contribution!
  • Fix getFullTransformMatrix in shadow DOM [#6996],
    with thanks to @OpportunityLiu for the contribution!
  • Fix drag on legend scrollbar while edits.legendPosition is true [#6997],
    with thanks to @OpportunityLiu for the contribution!
  • Fix numerical instability in 3D plots [6998],
    with thanks to @hborchardt for the contribution!
  • Fix numerical precision of drawing surface trace [6999],
    with thanks to @hborchardt for the contribution!
  • Fix isosurface maximum value calculation when isomax is set to null [#7002]

v2.32.0

23 Apr 18:58
Compare
Choose a tag to compare

Added

  • Add "bold" weight, "italic" style and "small-caps" variant options to fonts [#6956]

Fixed

  • Fix applying autotickangles on axes with showdividers as well as cases
    where tickson is set to "boundaries" [#6967],
    with thanks to @my-tien for the contribution!
  • Fix positioning of multi-line axis titles with standoff [#6970],
    with thanks to @my-tien for the contribution!

v2.31.1

15 Apr 18:42
Compare
Choose a tag to compare

Fixed

  • Maintain original drawing order of traces when traces with similar type are sent to back [#6962]
  • Ensure winning points of hover are listed first when hoversubplots is set to "axis" and sorting by distance [#6963]
  • Fix duplicated points in splom hover when hoversubplots is set to "axis" [#6965]

v2.31.0

10 Apr 15:06
Compare
Choose a tag to compare

Added

  • Add zorder attribute to various cartesian traces for controlling stacking order of SVG traces drawn
    into a subplot [#6918, #6953]. This feature was anonymously sponsored: thank you to our sponsor!
  • Add "between" option to shape layer for placing them above grid lines and below traces [#6927],
    with thanks to @my-tien for the contribution!
  • Add "raw" sizemode to cone trace [#6938]
  • Add layout.hoversubplots to enable (x|y) and unified hover effects across multiple cartesian suplots
    sharing one axis [#6947, #6950]

Changed

  • Regenerate stackgl_modules/index.js using updated dependencies [#6937]

Fixed

  • Fix hover count in parcats trace [#6944], with thanks to @weiweikee for the contribution!

v2.30.1

15 Mar 20:16
Compare
Choose a tag to compare

Fixed

  • Fix centering multi-line headers for treemap traces [#6923]
  • Fix heatmap text color and texttemplate on cells with missing data [#6924]
  • Fix scattergl rendering when colors include capital letters [#6928],
    with thanks to @28raining and @dy for the contribution!

v2.30.0

06 Mar 22:36
Compare
Choose a tag to compare

Added

  • Add fill gradients for scatter traces [#6905],
    with thanks to @lumip for the contribution!
  • Add indentation to legend [#6874],
    with thanks to @my-tien for the contribution!

Fixed

  • Fix tooltip pointer position [#6901],
    with thanks to @OBe95 for the contribution!
  • Fix standoff position [#6889, #6914],
    with thanks to @ayjayt for the contribution!
  • Fix resizing pie and funnelarea traces when textinfo is set to "none" [#6893],
    with thanks to @robbtraister for the contribution!
  • Fix insiderange on category axes [#6910]
  • Fix display of "boundaries" tickson when tickmode is set to "array" [#6912]