Skip to content

Commit

Permalink
Merge pull request #322 from gtonkinhill/gtonkinhill-patch-1
Browse files Browse the repository at this point in the history
Update panaroo_test.yml
  • Loading branch information
gtonkinhill authored Feb 5, 2025
2 parents affcf99 + 9ab8b4d commit b82c7fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/panaroo_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
22 changes: 10 additions & 12 deletions panaroo/generate_qc_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,10 @@ def plot_ngenes(input_gffs, outdir, no_plot=True):
pointpos=-1.8)
]
layout = go.Layout(autosize=True,
xaxis=dict(title='',
titlefont=dict(size=18, color='black'),
xaxis=dict(title=dict(text='', font=dict(size=18, color='black')),
showticklabels=False,
automargin=True),
yaxis=dict(title="Number of Genes",
titlefont=dict(size=18, color='black'),
yaxis=dict(title=dict(text="Number of Genes", font=dict(size=18, color='black')),
showticklabels=True,
tickfont=dict(size=10, color='black')))

Expand Down Expand Up @@ -234,12 +232,12 @@ def plot_ncontigs(input_gffs, outdir, no_plot=False):
pointpos=-1.8)
]
layout = go.Layout(autosize=True,
xaxis=dict(title='',
titlefont=dict(size=18, color='black'),
xaxis=dict(title=dict(text='',
font=dict(size=18, color='black')),
showticklabels=False,
automargin=True),
yaxis=dict(title="Number of Contigs",
titlefont=dict(size=18, color='black'),
yaxis=dict(title=dict(text="Number of Contigs",
font=dict(size=18, color='black')),
showticklabels=True,
tickfont=dict(size=10, color='black')))

Expand Down Expand Up @@ -325,16 +323,16 @@ def plot_mash_contam(mash_contam_file, outdir):
trace = go.Scatter(x=x, y=y, mode='markers', text=text, hoverinfo="text")

layout = go.Layout(autosize=True,
xaxis=dict(title='Match',
titlefont=dict(size=18, color='black'),
xaxis=dict(title=dict(text='Match',
font=dict(size=18, color='black')),
showticklabels=True,
tickangle=45,
ticktext=tick_labels,
tickvals=tickvals,
automargin=True,
tickfont=dict(size=8, color='black')),
yaxis=dict(title="Percentage of shared hash's",
titlefont=dict(size=18, color='black'),
yaxis=dict(title=dict(text="Percentage of shared hash's",
font=dict(size=18, color='black')),
showticklabels=True,
tickangle=45,
tickfont=dict(size=10, color='black')))
Expand Down

0 comments on commit b82c7fc

Please sign in to comment.