Skip to content

Releases: plotly/plotly.js

v1.48.0

28 May 14:22

Choose a tag to compare

Added

  • Add funnel traces [#3817, #3911]
  • Add funnelarea traces [#3876, #3912]
  • Add support for shared color axes via coloraxis attributes
    in the layout [#3803, #3786, #3901, #3916]
  • Add support for sorting categorical cartesian axes by value [#3864]
  • Add bingroup to histogram, histogram2d and histogram2dcontour to group
    traces to have compatible auto-bin values [#3845]
  • Add legend itemclick and itemdoubleclick attributes to set or disable
    the legend item click and double-click behavior [#3862]
  • Add insidetextanchor attribute for bar and waterfall traces [#3817]
  • Add textangle attribute for bar and waterfall traces [#3817]
  • Add textinfo to waterfall traces [#3790]
  • Add support for side-by-side scatter3d marker and line colorbars [#3803]
  • Add meta attribute to traces to complement layout.meta [#3865]
  • Emit plotly_relayouting during drag motion on subplots [#3888]
  • Add Swedish locale (sv) [#3821]

Changed

  • Use sane-topojson@v3.0.1 (backed by Natural Earth v4.1.0 shapefiles)
    to generate geographic features in geo subplots. Most notably, the Russia/Ukraine
    border has been updated [#3856]
  • Draw box and violin points as legend item when other parts have opacity 0 [#3846]
  • Draw marker.line for bars with no-span [#3848]
  • Do not make request for topojson files when drawing geo subplot
    without geographic features [#3856]

Fixed

  • Fix categoryarray ordering for heatmap and contour traces [#3827]
  • Fix heatmap brick positioning for non-overlapping categories [#3827]
  • Fix Plotly.update calls that resulted in removal of modebar buttons [#3825]
  • Fix auto-range for one-sided violin with set width [#3842]
  • Fix hover label placement for one-sided violin with set width [#3842]
  • Fix scattergl mode ordering in/out of selections [#3810]
  • Fix scattergl unselected styling in/out of select/lasso dragmode [#3810]
  • Fix automargin edge cases where draw code can be stuck in infinite loops [#3811]
  • Fix locationmode: 'USA-states' on world scope under 50m resolution [#3856]
  • Fix reset view interactions on geo subplots following geo.scope updates [#3856]
  • Fix Plotly.animate on graphs with multiple subplot types [#3860]
  • Fix filter transforms that result in empty coordinate arrays [#3766]
  • Fix handling of 0 number in pie and sunburst text and hover [#3847]
  • Fix sunburst text in sectors centered around theta=180 [#3907]
  • Fix handling of number 0 in sunburst ids/parents [#3903]
  • Fix selection range event data on category axes [#3869]
  • Fix contour with heatmap coloring rendering after graph resize [#3803]
  • Fix histogram2d hover label content for trace with bins spanning multiple y sample values [#3890]
  • Fix parcoords rendering of first value when it is part of own constraintrange [#3915]
  • Fix rgba colorscale fallback for parcoords traces [#3917]
  • Fix de-selected style of error bar on bar traces [#3644]
  • Fix hover labels rendering for some zoomed-in violin traces [#3889]
  • Fix mesh3d vertexcolor attribute description [#3688]

v1.47.4

25 Apr 17:41

Choose a tag to compare

Fixed

  • Fix graphs with sankey and cartesian subplots [#3802]
  • Fix selection of bar traces on subplot with a range slider [#3806]

v1.47.3

18 Apr 17:54

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

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

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

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

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

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

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

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]