Skip to content

Commit

Permalink
Merge pull request #371 from BCG-X-Official/dev/2.1.3
Browse files Browse the repository at this point in the history
BUILD: release pytools 2.1.3
  • Loading branch information
j-ittner authored Jun 14, 2024
2 parents cdb31e3 + bf09a04 commit 3a5bb52
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Release Notes
*pytools* 2.1
-------------

2.1.3
~~~~~

- FIX: :class:`.DendrogramMatplotStyle` now calls :meth:`.Axis.set_ticklabels` using a
positional argument for the labels, to address a change in *matplotlib* |nbsp| 3.7


2.1.2
~~~~~

Expand Down
2 changes: 1 addition & 1 deletion src/pytools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A collection of Python extensions and tools used in BCG GAMMA's open-source libraries.
"""
__version__ = "2.1.2"
__version__ = "2.1.3"
2 changes: 1 addition & 1 deletion src/pytools/viz/dendrogram/_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def draw_leaf_labels(
# set the tick locations and labels
y_axis = self.ax.yaxis
y_axis.set_ticks(ticks=list(self._get_ytick_locations(weights=weights)))
y_axis.set_ticklabels(ticklabels=names)
y_axis.set_ticklabels(names)

def _get_ytick_locations(
self, *, weights: Sequence[float]
Expand Down

0 comments on commit 3a5bb52

Please sign in to comment.