Skip to content

Commit

Permalink
updated plot_protein
Browse files Browse the repository at this point in the history
  • Loading branch information
rsexton2 committed Mar 6, 2024
1 parent edf4310 commit 3cbf768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basicrta/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ def plot_protein(residues, t_slow, bars, prot, label_cutoff=3, ylim=None):

height, width = 3, 4
fig, axs = plt.subplots(2,1,figsize=(width, height),sharex=True)
axs[0].tick_params(axis='both', which='major', labelsize=18)
axs[1].tick_params(axis='both', which='major', labelsize=18)
axs[0].tick_params(axis='both', which='major', labelsize=12)
axs[1].tick_params(axis='both', which='major', labelsize=12)
p =[Rectangle((tm(prots[prot]['helices'], i+1)[0][0], 0),
tm(prots[prot]['helices'], i+1)[1], 1, fill=True) for i in range(7)]
patches = PatchCollection(p)
Expand Down

0 comments on commit 3cbf768

Please sign in to comment.