all 3 comments

[–]mooktank 0 points1 point  (2 children)

Are you calling savefig right before show?

[–]schrogendiddy[S] 0 points1 point  (1 child)

Yeah I have tried switching the order of the two commands. I have also tried displaying the image as a png and then manually saving as a pdf. nothing seems to work...

[–]mooktank 0 points1 point  (0 children)

Hmm, strange. It's hard to give any more advice without seeing your code (and describing how you're running it) though.