Open bioinfornatics opened 3 years ago
Hi, thanks, yes I can confirm that ax=axe1
in plot_on_multiple_pages()
on line 6 causes the problem.
To document the issue: the plot_line()
function takes ax
as an argument and ax
is also passed with **plot_params
.
Also, this function is used without arguments on line 78 and with ax
on line 90.
I looked into it but not sure there is a quick fix.
(Would it solve the problem if you used graphic_annotation.plot_on_multiple_lines()
and the resulting plot instead?)
Dear I would like to add multiple subplot in order to display annotation from genbank and sample feature from external input. Each sample have a subplot in order to set accordingly a title which a simplified version give:
but that do not work as ax would be define twice one time by my script and another time by the library which give this stacktrace:
https://github.com/Edinburgh-Genome-Foundry/DnaFeaturesViewer/blob/6ace5cdff96bf995aa26167868b0dbb47f5f5952/dna_features_viewer/GraphicRecord/MultilinePlottableMixin.py#L62