Skip to content

Commit

Permalink
Python version bump and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Ellaway committed Mar 22, 2024
1 parent bfad38d commit 46fd2d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.10.12]
python-version: [3.10.13]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.12]
python-version: [3.10.13]
needs: build

steps:
Expand Down
2 changes: 1 addition & 1 deletion __version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.0"
__version__ = "1.1.1"
25 changes: 8 additions & 17 deletions cluster_conformers/cluster_chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def plot_dendrogram(
"linewidths": 1,
"alpha": 0.5,
}


# Add horizontal line where cutoff is placed
if cutoff:
Expand All @@ -141,20 +140,17 @@ def plot_dendrogram(
y=max_parent * cutoff,
xmin=axis_xlimits[0],
xmax=axis_xlimits[1],
**hline_props
**hline_props,
)

axis.set_title(f"Agglomerative clustering dendrogram: {unp}", fontweight="bold")
axis.set_ylabel("Score (\u212B)")

# Set the y-axis limits
rock_bottom = -max_parent*0.025
axis.set_ylim(
rock_bottom,
max_parent*1.05
)

# Add vlines for each leaf below the x-axis
# Set the y-axis limits
rock_bottom = -max_parent * 0.025
axis.set_ylim(rock_bottom, max_parent * 1.05)

# Add vlines for each leaf below the x-axis
axis.vlines(
x=axis.get_xticks(),
ymin=rock_bottom,
Expand All @@ -165,13 +161,8 @@ def plot_dendrogram(
# alpha=0.5,
)

axis.hlines(
y=0,
xmin=axis_xlimits[0],
xmax=axis_xlimits[1],
**hline_props
)

axis.hlines(y=0, xmin=axis_xlimits[0], xmax=axis_xlimits[1], **hline_props)

del dn


Expand Down

0 comments on commit 46fd2d9

Please sign in to comment.