Skip to content

Commit

Permalink
svg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pombert-JF committed Apr 29, 2024
1 parent 77f21ac commit c147eb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Plots/paf_to_barplot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
## Pombert lab, 2024
version = '0.3b'
version = '0.3c'
updated = '2024-04-29'
name = 'paf_to_barplot.py'

Expand Down Expand Up @@ -250,7 +250,6 @@ def barplot(paf):
output = basename
fig.suptitle(basename)

lgd = None
if monochrome:
next
else:
Expand Down Expand Up @@ -280,6 +279,8 @@ def barplot(paf):
counter.value += 1
print(f"{counter.value} / {lsize} - plotting {svg}...")
if monochrome:
plt.savefig(svg)
else:
plt.savefig(svg, bbox_inches='tight')

## Close fig
Expand Down

0 comments on commit c147eb4

Please sign in to comment.