Skip to content

Commit

Permalink
Merge pull request #4411 from Brainor/patch-dendrogram
Browse files Browse the repository at this point in the history
Fix x and y axis naming in dendrogram trace
  • Loading branch information
alexcjohnson authored Nov 6, 2023
2 parents 69c20f7 + 52048eb commit ba47b31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [UNRELEASED]

### Fixed
- Fix issue with creating dendrogram in subplots [[#4411](https://github.com/plotly/plotly.py/pull/4411)],

## [5.18.0] - 2023-10-25

### Updated
Expand Down
4 changes: 2 additions & 2 deletions packages/python/plotly/plotly/figure_factory/_dendrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ def get_dendrogram_traces(
except ValueError:
y_index = ""

trace["xaxis"] = "x" + x_index
trace["yaxis"] = "y" + y_index
trace["xaxis"] = f"x{x_index}"
trace["yaxis"] = f"y{y_index}"

trace_list.append(trace)

Expand Down

0 comments on commit ba47b31

Please sign in to comment.