Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency plotly to v5.24.1 #492

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 7, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
plotly (source, changelog) ==5.14.1 -> ==5.24.1 age adoption passing confidence

Release Notes

plotly/plotly.py (plotly)

v5.24.1

Compare Source

Updated
  • Updated Plotly.js from version 2.35.0 to version 3.0.0-rc.0. See the plotly.js CHANGELOG for more information.

v5.24.0

Compare Source

Added
  • New px functions for maps: scatter_map, line_map, choropleth_map, and density_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_objects module. 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.0

Compare Source

Updated
  • Updated Plotly.js from version 2.32.0 to version 2.34.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add subtitle attribute to layout.title to enable adding subtitles to plots [#​7012]
    • Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [#​7043]
    • Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to category_order on cartesian axes [#​6223],
      with thanks to @​acxz and @​prabhathc for the contribution!
    • Add axis property ticklabelindex for drawing the label for each minor tick n positions away from a major tick,
      with thanks to @​my-tien for the contribution! [#​7036]
    • Add property ticklabelstandoff and ticklabelshift to cartesian axes to adjust positioning of tick labels,
      with thanks to @​my-tien for the contribution! [#​7006]
    • Add x0shift, x1shift, y0shift, y1shift to shapes to add control over positioning of shape vertices on (multi-)category axes,
      with thanks to @​my-tien for the contribution! [#​7005]
  • Specify Python version 3.8-3.11 for development virtual environments and pin pytest at version 8.1.1 to match.
  • Update IntegerValidator to handle extras option to allow supporting additional keyword values. For example, 'bold' and 'normal' as well as integers as used in font weights [#​4612].

v5.22.0

Compare Source

Updated
  • Updated Plotly.js from version 2.31.1 to version 2.32.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add "bold" weight, "italic" style and "small-caps" variant options to fonts [#​6956]
    • Fix applying autotickangles on axes with showdividers as well as cases where tickson is set to "boundaries" [#​6967], with thanks to @​my-tien for the contribution!
    • Fix positioning of multi-line axis titles with standoff [#​6970], with thanks to @​my-tien for the contribution!

v5.21.0

Compare Source

Updated
  • Updated Plotly.js from version 2.30.0 to version 2.31.1. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add 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!
    • Add "between" option to shape layer for placing them above grid lines and below traces [#​6927],
      with thanks to @​my-tien for the contribution!
    • Add "raw" sizemode to cone trace [#​6938]
    • Add layout.hoversubplots to enable hover effects across multiple cartesian suplots sharing one axis [#​6947, #​6950]
Fixed

v5.20.0

Compare Source

Updated
  • Updated Plotly.js from version 2.29.1 to version 2.30.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add fill gradients for scatter traces [#​6905], with thanks to @​lumip for the contribution!
    • Add indentation to legend [#​6874], with thanks to @​my-tien for the contribution!

v5.19.0

Compare Source

Updated
  • Updated Plotly.js from version 2.27.0 to version 2.29.1. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add layout.barcornerradius and trace.marker.cornerradius properties to support rounding the corners of bar traces [#​6761],
      with thanks to Displayr for sponsoring development!
    • Add autotickangles to cartesian and radial axes [#​6790], with thanks to @​my-tien for the contribution!
    • Add align option to sankey nodes to control horizontal alignment [#​6800],
      with thanks to @​adamreeve for the contribution!
    • Add the possibility of loading "virtual-webgl" script for WebGL 1 to help display several WebGL contexts on a page [#​6784], with thanks to @​greggman for the contribution!
    • Add options to use base64 encoding (bdata) and shape (for 2 dimensional arrays) to declare various typed arrays i.e. dtype=(float64|float32|int32|int16|int8|uint32|uint16|uint8) [#​5230]
    • Adjust stamen styles to point to stadiamaps.com, the users may also need to provide their own API_KEY via config.mapboxAccessToken [#​6776, #​6778]
  • Removed Python 3.6 and Python 3.7 support [#​4492]
Fixed
  • Ensure scatter mode is deterministic from px [#​4429]
  • Fix issue with creating dendrogram in subplots [#​4411],
  • Fix issue with px.line not accepting "spline" line shape [#​2812]
  • Fix KeyError when using column of pd.Categorical dtype with unobserved categories [#​4437]
  • Fix dataframe interchange in case column_names returns an unmaterialized object: generator, iterator, etc. [#​4442]
  • Fix issue with FutureWarning being displayed when setting the color argument in plotly.express [#​4519]

v5.18.0

Compare Source

Updated
  • Updated Plotly.js from version 2.26.0 to version 2.27.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add 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!
    • Fix column order changes on hover [#​6718],
      with thanks to @​bhavinpatel1109 for the contribution!
    • Fix hover at timestamp '1970-01-01 00:00:00' [#​6752],
      with thanks to @​adamjhawley for the contribution!
    • Fix clearing empty candlestick using react [#​6757]
Fixed
  • Repair crash on Matplotlib 3.8 related to get_offset_position [#​4372],
  • Handle deprecation of pandas.Series.dt.to_pydatetime() calls and suppress the FutureWarning they currently emit. [#​4379]

v5.17.0

Compare Source

Updated
  • Improved json docstrings, added BasePlotlyType.to_json() method [#​4301]
  • Updated Plotly.js from version 2.25.2 to version 2.26.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add "min", "max", "min reversed" and "max reversed" autorange options and handle partial ranges (i.e. one end being null), add autorangeoptions (clipmin, clipmax, minallowed, maxallowed, include) as well as minallowed and maxallowed to cartesian, gl3d and radial axes [#​6547]
    • Add [n]-sigma (std deviations) box plots as an alternative to quartiles [#​6697], with thanks to @​28raining for the contribution!
    • Add "top left" & "top center" side options to legend title [#​6711], with thanks to @​28raining for the contribution!
    • Add "false" option to scaleanchor to allow removing a constraint that is set by default [#​6712], with thanks to @​lvlte for the contribution!
Fixed
  • Fixed two issues with px.imshow: [#​4330] when facet_col is an earlier dimension than animation_frame for xarrays and [#​4329] when facet_col has string coordinates in xarrays [#​4331]

v5.16.1

Compare Source

Fixed
  • Fixed issue with necessary columns from complex arguments dropped when interchanging dataframes [#​4324]

v5.16.0

Compare Source

Updated
  • Updated Plotly.js from version 2.24.1 to version 2.25.2. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Add "Equal Earth" projection to geo subplots [#​6670],
      with thanks to @​apparebit for the contribution!
    • Add options to include legends for shapes and newshape [#​6653]
  • 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.
Fixed
  • Fixed Pandas performance warning issue caused by multiple frame.insert [#​4246]

v5.15.0

Compare Source

Updated
  • Updated Plotly.js from version 2.20.0 to version 2.24.1. See the plotly.js CHANGELOG for more information. Notable changes include:
    • Add pattern to pie, funnelarea, sunburst, icicle and treemap traces [#​6601, #​6619, #​6622, #​6626, #​6627, #​6628, #​6629], with thanks to @​thierryVergult for the contribution!
    • Add 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!
    • Add strict option to custom bundle command [#​6557],
      with thanks to @​CallumNZ for the contribution!
    • Add 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!
    • Add legend.xref and legend.yref to enable container-referenced positioning of legends [#​6589], with thanks to Gamma Technologies for sponsoring the related development.
    • Add 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]
Fixed
  • Fixed another compatibility issue with Pandas 2.0, just affecting px.*(line_close=True) [#​4190]
  • Empty pandas dataframe with facet row/column set no longer fails [#​4038]
  • Added some rounding to the make_subplots function to handle situations where the user-input specs cause the domain to exceed 1 by small amounts [#​4153]
  • Sanitize JSON output to prevent an XSS vector when graphs are inserted directly into HTML [#​4196]
  • Fixed issue with shapes and annotations plotting on the wrong y axis when supplied with a specific axis in the yref parameter [#​4177]
  • Remove use_2to3 setuptools arg, which is invalid in the latest Python and setuptools versions [#​4206]
  • Fix #​4066 JupyterLab v4 giving tiny default graph height [#​4227]
  • Fixed issue with colors.n_colors where generated RGB color values were not being constrained to stay between 0 and 255 [#​4110]
  • Fix streamline figure factory with recent versions of Numpy
  • Fix issue with shapes and annotations not drawing on correct axis [#​4177]

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner January 7, 2025 15:16
@renovate renovate bot added dependencies Pull requests that update a dependency file renovate labels Jan 7, 2025
@renovate renovate bot enabled auto-merge (squash) January 7, 2025 15:16
@renovate renovate bot merged commit db38fba into main Jan 7, 2025
9 checks passed
@renovate renovate bot deleted the renovate/plotly-5.x branch January 7, 2025 15:18
Copy link

github-actions bot commented Jan 7, 2025

Toolkit dry run triggered: 12654034068

Build status: success
Dry run status: success
Resync purge status: success

╭──────────────────────────────────────────────────────────────────╮
│ Checkingresource files from cdf-tk-build directory.              │
│                                                                  │
│ Connected to CDF Project power-ops-staging in cluster bluefield: │
│   CDF_CLUSTER=bluefield                                          │
│   CDF_PROJECT=power-ops-staging                                  │
│   CDF_URL=https://bluefield.cognitedata.com                      │
│   IDP_SCOPES=https://bluefield.cognitedata.com/.default          │
│   IDP_AUDIENCE=https://bluefield.cognitedata.com                 │
│                                                                  │
╰──────────────────────────────────────────────────────────────────╯
Would deploy 3 spaces to CDF...
 spaces: Untouched ['power_ops_instances', 'power_ops_core', 'power_ops_types']

Would deploy 31 containers to CDF...
 containers: Untouched 31 items

Would deploy 64 views to CDF...
 views: Untouched 64 items

Would deploy 12 data models to CDF...
 data models: Untouched 12 items

Would deploy 552 nodes to CDF...
 nodes: Untouched 552 items

Would deploy 621 edges to CDF...
 edges: Untouched 621 items

                              Summary of Resources Deploy operation:                               
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┓
┃                                ┃   Would have ┃   Would have ┃   Would have ┃           ┃       ┃
┃                       Resource ┃      Created ┃      Deleted ┃      Changed ┃ Untouched ┃ Total ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━┩
│                     containers │            0 │            0 │            0 │        31 │    31 │
│                    data models │            0 │            0 │            0 │        12 │    12 │
│                          edges │            0 │            0 │            0 │       621 │   621 │
│                          nodes │            0 │            0 │            0 │       552 │   552 │
│                         spaces │            0 │            0 │            0 │         3 │     3 │
│                          views │            0 │            0 │            0 │        64 │    64 │
└────────────────────────────────┴──────────────┴──────────────┴──────────────┴───────────┴───────┘
                   Summary of Data Deploy operation (data is always uploaded):                    
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃   Resource ┃ Would have Uploaded Data ┃       Item Type ┃ From files ┃ Would have Deleted Data ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ containers │                        - │ nodes and edges │          - │                       0 │
│      edges │                        - │           edges │          - │                       0 │
│      nodes │                        - │           nodes │          - │                       0 │
│     spaces │                        - │ nodes and edges │          - │                       0 │
└────────────┴──────────────────────────┴─────────────────┴────────────┴─────────────────────────┘

Resync Purge dry run
NODES to be deleted:

  • GeneratorEfficiencyCurve: 12
  • TurbineEfficiencyCurve: 15
  • MarketConfiguration: 1
  • PriceAreaInformation: 1
  • BidConfigurationDayAhead: 3
  • ShopAttributeMapping: 361
  • ShopCommands: 1
  • ShopModel: 104
  • ShopScenarioSet: 5
  • ShopBasedPartialBidConfiguration: 9
  • DateSpecification: 9
    EDGES to be deleted:
  • ShopScenarioSet.scenarios: 108
  • ShopAttributeMapping: 117
  • ShopOutputTimeSeriesDefinition: 327
  • ShopModel.cogShopFilesConfig: 4
  • ShopModel.baseAttributeMappings: 4
  • BidConfiguration.partials: 18
  • isSubAssetOf: 15
    Purge Summary:
  • Found 521 nodes in total to delete.
  • Found 593 edges in total to delete.
    Dry run mode enabled. Exiting without deleting any data.

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.85%. Comparing base (f951275) to head (47aebb9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #492      +/-   ##
==========================================
+ Coverage   44.83%   44.85%   +0.01%     
==========================================
  Files         344      344              
  Lines       29556    29556              
==========================================
+ Hits        13252    13256       +4     
+ Misses      16304    16300       -4     

see 2 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant