Skip to content

Releases: plotly/plotly.js

v1.47.3

18 Apr 17:54
Compare
Choose a tag to compare

Fixed

  • Fix MathJax rendering in Firefox [#3783]
  • Fix waterfall hover under hovermode: 'closest' [#3778]
  • Fix waterfall connector.line.width updates [#3789]
  • Fix waterfall positioning on date axes [#3791]
  • Fix waterfall default connector line color [#3788]
  • Fix hoverlabel.align behavior for centered hover labels [#3781]

v1.47.2

15 Apr 21:04
Compare
Choose a tag to compare

Celebrating our 10,000 ⭐ with this release.

Fixed

  • Fix bar 'auto' and 'inside' textposition rendering on log size axes [#3762, #3773]
  • Fix matching axes autorange algorithm for date axes [#3772]
  • Fix SVG gradient rendering (colorbar and marker gradient) when <base> is present on page [#3765]

v1.47.1

10 Apr 21:09
Compare
Choose a tag to compare

Fixed

  • Fix console errors during selections (bug introduced in 1.47.0) [#3755]

v1.47.0

09 Apr 18:15
Compare
Choose a tag to compare

Added

  • New volume gl3d trace type [#3488]
  • Implement node grouping via box and lasso selections for sankey traces [#3712, #3750]
  • Implement hovermode: 'x' for sankey traces,
    allowing users to compare links in a flow on hover [#3730]
  • Add way for Plotly.toImage and Plotly.downloadImage to export images
    with current graph width/height by passing width/height option as null [#3746]
  • Add legend attribute itemsizing with value 'constant' making legend item symbol sizing
    independent of the sizing of their corresponding trace item [#3732]
  • Add hoverlabel.align with value 'left', 'right' and 'auto' to set the horizontal
    alignment of the text content within hover labels [#3753]
  • Add contour.start, contour.end and contour.size attribute to surface traces [#3469]
  • Add isosurface and volume to the gl3d bundle [#3488]

Changed

  • Allow re-plot during drag interactions [#3716]
  • Use high-precision in scattergl error bars shader [#3739]

Fixed

  • Fix implementation of geo lonaxis and lataxis attribute tick0 [#3706]
  • Fix scrollZoom: false configuration on mapbox subplots [#3745]
  • Fix rendering of alpha channel in mesh3d traces [#3744]
  • Fix hoverlabel.namelength: 0 case [#3734]
  • Fix implementation of hoverlabel.namelength for pie, sankey, sunburst and
    the gl3d traces [#3734]
  • Fix waterfall rendering when transforms filter out all
    increasing or decreasing bars [#3720]
  • Fix clip-path attributes for pages with parenthesis in their <base> URL [#3725]

v1.46.1

02 Apr 18:52
Compare
Choose a tag to compare

Fixed

  • Fix bar traces that set textfont but don't have text
    (bug introduced in 1.46.0) [#3715]
  • Fix hover text formatting in waterfall traces [#3711]
  • Fix surface and mesh3d color scales with more than 256 items [#3702]

v1.46.0

01 Apr 16:22
Compare
Choose a tag to compare

Added

  • New waterfall trace type [#3531, #3708]
  • New sunburst trace type [#3594]
  • Add attributes node.x and node.y to sankey traces [#3583]
  • Implement connectgaps on surface traces [#3638]
  • Implement hovertemplate for box and violin points [#3685]

Changed

  • Display hover labels above modebar, ensuring that the hover labels
    are always visible within the graph div [#3589, #3678]

Fixed

  • Fix horizontal legend item wrapping by pushing overflowed items to newline [#3628]
  • Fix erroneous gap for histogram under relative barmode [#3652]
  • Fix position of overlapping grouped bars within trace [#3680]
  • Fix violin bandwidth logic for traces with identical values in sample [#3626]
  • Fix violin trace scalegroup description [#3687]
  • Fix stacked scatter for groupby traces [#3692]
  • Fix outside text on empty items in bar traces under textposition: 'outside' [#3701]
  • Fix pie un-hover event emission after updates [#3662, 3690]
  • Fix scatter line decimation algo for filled trace with far-away data points [#3696]
  • Fix heatmap and contour computation for traces with category coordinates containing 0 [#3691]
  • Fix zoom interactions on gl3d subplots using an orthographic projection [#3601]
  • Fix miscellaneous gl3d camera on-initialization bugs [#3585]
  • Fix surface contour line rendering in some Firefox versions [#3670]
  • Fix rendering of marker points and gl3d subplots on date axes (or with coordinates close to 64K floating limits)
    for WebGL-based traces on some iOS devices [#3666, #3672, #3674, #3676]
  • Fix center-aligned hover labels positioning [#3681]

v1.45.3

19 Mar 17:55
Compare
Choose a tag to compare

Fixed

  • Fix legend click dispatch on legend item symbols (bug introduced in 1.44.0) [#3635]
  • Fix overlapping of "very close" hover labels [#3645]
  • Fix hovermode default logic for stacked scatter traces [#3646]
  • Fix glPixelRatio handling in surface contour lines [#3641]
  • Fix gl2d subplot zoombox appearance (bug introduced in 1.32.0) [#3647]
  • Fix axis label updates on gl2d subplots on scroll (bug introduced in 1.32.0) [#3647]
  • Fix dragmode relayout calls on gl2d subplots [#3647]
  • Improve info about <extra> in hovertemplate description [#3623]

v1.45.2

07 Mar 18:35
Compare
Choose a tag to compare

Fixed

  • Fix webpack builds that include sankey by upgrading d3-sankey-circular to 0.33.0 (bug introduced in 1.45.0) [#3611]

v1.45.1

05 Mar 17:45
Compare
Choose a tag to compare

Fixed

  • Fix axis automargin pushes for rotated tick labels [#3605]
  • Fix automargin logic on (very) small graphs [#3605]
  • Fix locales support in hovertemplate strings [#3586]
  • Fix gl3d reset camera buttons for scenes with orthographic projection [#3597]
  • Fix typed array support for parcoords dimensions values and line.color [#3598]
  • Fix cone rendering on some older browsers [#3591]
  • Fix lightposition behavior for cone traces [#3591]
  • Fix lightposition behavior for streamtube trace [#3593]
  • Remove unused files from gl-cone3d dependency [#3591]
  • Remove unused files from gl-streamtube3d dependency [#3593]

v1.45.0

26 Feb 21:49
Compare
Choose a tag to compare

Added

  • Add support for circular networks in sankey traces [#3406, #3535, #3564]
  • Add matching axes behavior to cartesian axes via new axis attribute and
    new splom attribute dimensions attribute matches [#3506, #3565]
  • Add attributes alignmentgroup and offsetgroup to bar, histogram, box
    and violin traces to make cross-trace positioning easier [#3529]
  • Add support for orthographic projections in gl3d subplots via new attribute
    scene.camera.projection.type [#3550]
  • Add cmid and zmid colorscale attributes to pick the middle of the color
    range during the auto-colorscale computations [#3549]
  • Add support for sankey grouping via new attribute groups [#3556]
  • Add support for sankey concentration colorscales [#3501]
  • Add support for hovertemplate for all gl3d traces, contour,
    heatmap, histogram*, parcats, scattercarpet and splom traces [#3530]
  • Add hovertext attribute to all traces that support hover 'text',
    for consistency with traces that already have an hovertext attribute [#3553]
  • Add support for layout meta templating in trace name,
    rangeselector, updatemenus and sliders labels as well as
    within hovertemplate [#3548]
  • Add support for opacity to isosurface traces [#3545]
  • Add mapbox.layers attributes: minzoom, maxzoom, line.dash and symbol.placement [#3399]

Changed

  • More consistency pass down WebGL pixel ratio to gl3d renderers,
    this leads to better axis line and error bar rendering on some hardwares [#3573]
  • Performance boost for isosurface trace generation [#3521]
  • Export template string regex of Lib [#3548]
  • Do no cluster points in scattergl trace with less than 1e5 data pts,
    this fixes reported "missing data points" scenarios [#3578]

Fixed

  • Fix selection outline clearing during cartesian axis-range relayout calls
    (bug introduced in 1.42.0) [#3577]
  • Fix modebar interactions on graphs with scatter3d traces with
    marker colorscales (bug introduced in 1.44.0) [#3554]
  • Fix axis automargin for superimposed subplots (bug introduced in 1.44.3) [#3566]
  • Fix polar angular tick labels placement [#3538]
  • Fix scattergl updates after selections for trace with on-graph text [#3575]
  • Fix responsive: true config option for graph with WebGL traces [#3500]
  • Fix modebar.bgcolor for vertical modebars with wrapped buttons [#3500]
  • Fix ohlc and candlestick auto-range computations [#3544]