Update dependency plotly to v6#14010
Update dependency plotly to v6#14010renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the plotly dependency from version 5.15.0 to 6.6.0 across multiple requirement files. Feedback indicates that this major version upgrade introduces significant breaking changes and critical dependency conflicts, specifically with tensorflow and apache-beam due to incompatible numpy version requirements. It is recommended to remain on the 5.x series to maintain environment stability and compatibility.
| google-cloud-aiplatform==1.47.0 | ||
| imageio==2.36.1 | ||
| plotly==5.15.0 | ||
| plotly==6.6.0 |
There was a problem hiding this comment.
Updating to plotly v6.x is a major breaking change that removes several deprecated attributes (e.g., titlefont, transforms) and changes the FigureWidget backend to anywidget. More importantly, plotly v6.x likely requires a numpy version (>= 1.24) that conflicts with tensorflow==2.12.0 (line 8), which is strictly pinned to numpy < 1.24. It is recommended to stay on the 5.x series to maintain compatibility with the existing dependency stack.
plotly==5.24.1
| apache-beam[gcp,interactive]==2.43.0 | ||
| build==0.10.0 | ||
| plotly==5.15.0 | ||
| plotly==6.6.0 |
There was a problem hiding this comment.
This major version update introduces potential conflicts with apache-beam[gcp,interactive]==2.43.0 (line 2). The interactive components of Beam and Plotly 6.x (which now uses anywidget) may have incompatible requirements for ipywidgets and numpy. Sticking to the 5.x series is safer for maintaining compatibility with this older Beam version.
plotly==5.24.1
| ../../serving/weather-data | ||
| ../../serving/weather-model | ||
| plotly==5.15.0 | ||
| plotly==6.6.0 |
There was a problem hiding this comment.
Updating to plotly v6.x is a major version bump that risks breaking existing visualization code due to the removal of deprecated attributes and changes in the widget architecture. It also risks dependency conflicts with the older environment implied by the project's other requirements.
plotly==5.24.1
This PR contains the following updates:
==5.15.0→==6.6.0Release Notes
plotly/plotly.py (plotly)
v6.6.0Compare Source
Fixed
type="text/javascript"attribute from<style>tag [#5454], with thanks to @hannob for the contribution!Updated
v6.5.2Compare Source
Fixed
legend,showlegendattributes don't accept array values [#5464 and #5465], with thanks to @my-tien for the contribution!v6.5.1Compare Source
Fixed
template.data.<trace_type>[#5437], with thanks to @antonymilne for the contribution!Updated
validate_ganttfunction [#5386], with thanks to @misrasaurabh1 for the contribution!showlegendandlegend, so that these can be configured per slice. [#7580]v6.5.0Compare Source
Updated
hovertemplateforcandlestickandohlctraces [#7619]Fixed
v6.4.0Compare Source
Updated
hovertemplatefallbackandtexttemplatefallbackattributes [#7577]Deprecated
create_hexbin_mapboxin favor ofcreate_hexbin_map, update related function calls [5358], with thanks to @ajlien for the contribution!v6.3.1Compare Source
Updated
shared_yaxesto work with secondary axes [#5180], with thanks to @gmjw for the contribution!Fixed
_ternary_contour.py[#5315], with thanks to @Lexachoc for the contribution!fig.show()behavior whenipythonis installed [#5258]v6.3.0Compare Source
Updated
Added
plotly.io.get_chrome()as a function which can be called from within a Python script. [#5282]Fixed
v6.2.0Compare Source
Added
include_plotlyjs='cdn'. This enhances security by ensuring browser verification of CDN-served plotly.js files [#5165] (with thanks to @ddworken)Fixed
pio.defaults[#5207]Changed
v6.1.2Compare Source
Fixed
graph_objectsclasses [#5199]v6.1.1Compare Source
Fixed
ValueErrorwhen creating a figure with subplots [#3888]fig.write_image()to not generate an image [#5193]v6.1.0Compare Source
Updated
Fixed
jupyterlabornotebookis not installed [#5104]v6.0.1Compare Source
Updated
Fixed
TypeErrorwhen usingorjsonto serializepandas.NA[#5040].category_ordersonpx.pieraisedColumnNotFoundError[#5000].DeprecationWarningshown when creating apxchart [#5080, #5086]v6.0.0Compare Source
Added
plotly[express]extra for easily installing Plotly Express dependencies [#4644]subtitleattribute to all Plotly Express traces [#4830].Removed
pointcloudandheatmapgltraces from the API [#4815]tenacitydependency [#4831]Updated
plotly.graph_objectsmodule. Notable changes include:titlefont,titleposition,titleside, andtitleoffset[#7212].bardirattribute (useorientationinstead) [#7214]annotation.refattribute (useannotation.xrefandannotation.yrefinstead) [#7215]opacityattribute (use alpha channel of error barcolorattribute instead) [#7214]gl3d.cameraposition(usegl3d.camerainstead) [#7217]plot3dPixelRatiofrom config [#7231]zauto,zminandzmaxfrom the surface trace [#7234]autotickattributes from cartesian axes [#7236]transformsfrom the API [#7240, #7254]go.FigureWidgetto useanywidget[#4823]Fixed
go.FigureWidget.showto returnFigureWidgetinstead of displayingFigure[#4869]v5.24.1Compare Source
Updated
v5.24.0Compare Source
Added
pxfunctions for maps:scatter_map,line_map,choropleth_map, anddensity_map.Updated
Updated Plotly.js from version 2.34.0 to version 2.35.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated
plotly.graph_objectsmodule. Notable changes include:Fixed a bug in integer validation of arrays that threw an error when an array contained a mix of strings and integers.
v5.23.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:subtitleattribute tolayout.titleto enable adding subtitles to plots [#7012]category_orderon cartesian axes [#6223],with thanks to @acxz and @prabhathc for the contribution!
ticklabelindexfor drawing the label for each minor tick n positions away from a major tick,with thanks to @my-tien for the contribution! [#7036]
ticklabelstandoffandticklabelshiftto cartesian axes to adjust positioning of tick labels,with thanks to @my-tien for the contribution! [#7006]
x0shift,x1shift,y0shift,y1shiftto shapes to add control over positioning of shape vertices on (multi-)category axes,with thanks to @my-tien for the contribution! [#7005]
pytestat version 8.1.1 to match.IntegerValidatorto handleextrasoption to allow supporting additional keyword values. For example, 'bold' and 'normal' as well as integers as used in font weights [#4612].v5.22.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:v5.21.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:zorderattribute 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!
with thanks to @my-tien for the contribution!
sizemodeto cone trace [#6938]layout.hoversubplotsto enable hover effects across multiple cartesian suplots sharing one axis [#6947, #6950]Fixed
orjsonloading issue [#4562]v5.20.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:indentationto legend [#6874], with thanks to @my-tien for the contribution!v5.19.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:layout.barcornerradiusandtrace.marker.cornerradiusproperties to support rounding the corners of bar traces [#6761],with thanks to Displayr for sponsoring development!
autotickanglesto cartesian and radial axes [#6790], with thanks to @my-tien for the contribution!alignoption to sankey nodes to control horizontal alignment [#6800],with thanks to @adamreeve for the contribution!
bdata) andshape(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 viaconfig.mapboxAccessToken[#6776, #6778]Fixed
modeis deterministic frompx[#4429]pd.Categoricaldtype with unobserved categories [#4437]column_namesreturns an unmaterialized object: generator, iterator, etc. [#4442]FutureWarningbeing displayed when setting thecolorargument inplotly.express[#4519]v5.18.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:insiderangeto 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!with thanks to @bhavinpatel1109 for the contribution!
with thanks to @adamjhawley for the contribution!
candlestickusing react [#6757]Fixed
pandas.Series.dt.to_pydatetime()calls and suppress theFutureWarningthey currently emit. [#4379]v5.17.0Compare Source
Updated
BasePlotlyType.to_json()method [#4301]plotly.graph_objectsmodule. Notable changes include:autorangeoptions(clipmin,clipmax,minallowed,maxallowed,include) as well asminallowedandmaxallowedto cartesian, gl3d and radial axes [#6547]scaleanchorto allow removing a constraint that is set by default [#6712], with thanks to @lvlte for the contribution!Fixed
v5.16.1Compare Source
Fixed
v5.16.0Compare Source
Updated
plotly.graph_objectsmodule. Notable changes include:with thanks to @apparebit for the contribution!
newshape[#6653]pxmethods now accept data-frame-like objects that support a dataframe interchange protocol, such as polars, vaex, modin etc. This protocol has priority onto_pandascall, but will only be used if pandas>=2.0.2 is installed in the environment.pxmethods now accept data-frame-like objects that support atoPandas()method, such as Spark DataFrames, or ato_pandas_df()method, such as Vaex DataFrames.Fixed
frame.insert[#4246]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.