You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have code like this in my program pharokka implementing pyCirclize.
# get only to range of gff - as by default gbk takes all contigs, gff only the first
gbk = Genbank(gbk_file)
# instantiate circos
circos = Circos(sectors={gbk.name: gbk.range_size})
# example plot name
plot_title = "Staphylococcus Phage one"
# title if not blank
circos.text(plot_title, size=int(title_size), r=190)
By default, the plot_title will always plot the title without italics.
However, for this application, it would be useful if I could italicise certain words (in this case, "Staphylococcus Phage one").
There there an easy way to do this that you know of?
George
The text was updated successfully, but these errors were encountered:
pyCirclize is a matplotlib-based library, so you can basically take advantage of matplotlib text styles.
As far as I know, in matplotlib you can set italic text like below.
Hi @moshi4 ,
Question about italicising the title.
I have code like this in my program pharokka implementing pyCirclize.
By default, the plot_title will always plot the title without italics.
However, for this application, it would be useful if I could italicise certain words (in this case, "Staphylococcus Phage one").
There there an easy way to do this that you know of?
George
The text was updated successfully, but these errors were encountered: