arq5x / poretools

a toolkit for working with Oxford nanopore data
MIT License
239 stars 90 forks source link

creating pdfs on a server with ssh #122

Open roblanf opened 7 years ago

roblanf commented 7 years ago

Hi,

I had some issues writing PDF plots on my server (logged in with ssh). I fixed them by using the

matplotlib.use('Agg') # Must be called before any other matplotlib calls

trick. You have that in some scripts (though it's commented out) but not in others.

Details of what I did are here under the fast5_qc.sh heading:

https://github.com/roblanf/minion_qc

I'm not sure if there's a universal solution to getting this working on all systems, but maybe a bit in the docs that points this out would be really helpful. (And apologies if I missed exactly that bit!).

Rob