The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
plotly.graph_objects
module. Notable changes include:
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!sizemode
to cone trace [#6938]layout.hoversubplots
to enable hover effects across multiple cartesian suplots sharing one axis [#6947, #6950]orjson
loading issue [#4562]plotly.graph_objects
module. Notable changes include:
plotly.graph_objects
module. Notable changes include:
layout.barcornerradius
and trace.marker.cornerradius
properties to support rounding the corners of bar traces [#6761],
with thanks to Displayr for sponsoring development!autotickangles
to cartesian and radial axes [#6790], with thanks to @my-tien for the contribution!align
option to sankey nodes to control horizontal alignment [#6800],
with thanks to @adamreeve for the contribution!bdata
) and shape
(for 2 dimensional arrays) to declare various typed arrays i.e. dtype=(float64|float32|int32|int16|int8|uint32|uint16|uint8)
[#5230]stadiamaps.com
, the users may also need to provide their own API_KEY via config.mapboxAccessToken
[#6776, #6778]mode
is deterministic from px
[#4429]pd.Categorical
dtype with unobserved categories [#4437]column_names
returns an unmaterialized object: generator, iterator, etc. [#4442]
FutureWarning
being displayed when setting the color
argument in plotly.express
[#4519]
plotly.graph_objects
module. Notable changes include:
insiderange
to cartesian axes to help avoid overlap between visible grid lines and tick labels of the counter axis when they are positioned inside [#6735], this feature was anonymously sponsored: thank you to our sponsor!candlestick
using react [#6757]BasePlotlyType.to_json()
method [#4301]plotly.graph_objects
module. Notable changes include:
autorangeoptions
(clipmin
, clipmax
, minallowed
, maxallowed
, include
) as well as minallowed
and maxallowed
to cartesian, gl3d and radial axes [#6547]scaleanchor
to allow removing a constraint that is set by default [#6712], with thanks to @lvlte for the contribution!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]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 etcpx.*(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]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]