Skip to content

Commit

Permalink
fixing issues with ploty again
Browse files Browse the repository at this point in the history
  • Loading branch information
gtonkinhill committed Feb 5, 2025
1 parent 564f021 commit ccef496
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions panaroo/generate_qc_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,13 @@ 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')),
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 @@ -323,16 +324,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 ccef496

Please sign in to comment.