sidhomj/DeepTCR

Heatmap save to file output blank file

hejing3283 opened this issue · 13 comments

DTCRU.HeatMap_Sequences(filename='Heatmap_Sequences.pdf')

The resulted file is blank.

so it's a png, the tiff is not supported?

I use macOS and linux. None of them works. Cannot save to eps or png neither.

Thanks!

hmm. i'm not having a problem saving png or eps images.. are you getting an actual error?

with with png? I can't replicate the problem on my end so it's hard to know how to fix it.. can you try running DeepTCR within an IDE like pycharm? as oppose to just from cmd.

I installed pillow and set the backend as 'pdf' by the following scripts, it works now.

import matplotlib
matplotlib.use("pdf")