jupyterlab-plotly
Advanced tools
Changelog
[5.16.0] - 2023-08-11
plotly.graph_objects
module. Notable changes include:
px
methods now accept data-frame-like objects that support a dataframe interchange protocol, such as polars, vaex, modin etc. This protocol has priority on to_pandas
call, but will only be used if pandas>=2.0.2 is installed in the environment.px
methods now accept data-frame-like objects that support a toPandas()
method, such as Spark DataFrames, or a to_pandas_df()
method, such as Vaex DataFrames.frame.insert
[#4246]Changelog
[5.15.0] - 2023-06-08
texttemplate
to shape.label for parametric shapes i.e. line, rect and circle [#6527],
with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development!legend
references to traces and legend2
, legend3
, etc. to layout,
also add visible
to legend i.e. to allow positioning multiple legends on a graph [#6535],
this feature was anonymously sponsored: thank you to our sponsor!legend.xref
and legend.yref
to enable container-referenced positioning of legends [#6589], with thanks to Gamma Technologies for sponsoring the related development.colorbar.xref
and colorbar.yref
to enable container-referenced positioning of colorbars [#6593], with thanks to Gamma Technologies for sponsoring the related development.px
methods now accept data-frame-like objects that support a to_pandas()
method, such as polars, cudf, vaex etc [#4244], [#4286]px.*(line_close=True)
[#4190]make_subplots
function to handle situations where the user-input specs cause the domain to exceed 1 by small amounts [#4153]yref
parameter [#4177]use_2to3
setuptools arg, which is invalid in the latest Python and setuptools versions [#4206]colors.n_colors
where generated RGB color values were not being constrained to stay between 0 and 255 [#4110]Changelog
[5.14.0] - 2023-03-29
title.automargin
to enable automatic top and bottom margining for both container and paper referenced titles [#6428],
with thanks to Gamma Technologies for sponsoring the related development.label
attribute to shapes [#6454], with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development!labelalias
to various axes namely cartesian, gl3d, polar, smith, ternary, carpet,
indicator and colorbar [#6481],
this feature was anonymously sponsored: thank you to our sponsor!charset="utf-8"
to scripts in to_html
[#4114]packaging
to install requirements, fixing a No module named 'packaging
error on Python 3.6 [#4113]str
in hover_data
and custom_data
in plotly.express
[4083]Changelog
[5.13.1] - 2023-02-24
plotly.graph_objects
module.Changelog
[5.13.0] - 2023-01-23
Changelog
[5.12.0] - 2023-01-12
shift
and autoshift
to cartesian y axes to help avoid overlapping of multiple axes [#6334],
with thanks to Gamma Technologies for sponsoring the related development!scatter
trace i.e. alignmentgroup
, offsetgroup
, scattermode
and scattergap
[#6381],
this feature was anonymously sponsored: thank you to our sponsor!marker.cornerradius
attribute to treemap
trace [#6351]marker.angle
attribute now accepts iterables where appropriate [#4013]selector=0
now correctly returns the first trace in .select_traces()
and related methods [#3817]Changelog
[5.11.0] - 2022-10-27
scattermapbox
[#5827],
with thanks to @elben10 for the contribution!angle
, angleref
and standoff
to marker
and add backoff
to line
; also introduce new arrow symbols to facilitate drawing networks [#6297]minreducedwidth
and minreducedheight
to layout for increasing control over automargin [#6307]entrywidth
and entrywidthmode
to legend [#6202, #6324]Changelog
[5.10.0] - 2022-08-11
sankey
links with arrowsselections
, newselection
and activeselection
layout attributes to have persistent and editable selections over cartesian subplotsunselected.line.color
and unselected.line.opacity
options to parcoords
traceChangelog
[5.9.0] - 2022-06-23
pattern_shape
options now available in px.timeline()
#3774facet_*
and category_orders
now available in px.pie()
#3775px
methods no longer call groupby
on the input dataframe when the result would be a single group, and no longer groups by a lambda, for significant speedups #3765 with thanks to @jvddflaglist
attributes, to support upcoming changes to ax.automargin
in plotly.js plotly.js#6193, #3749