Python Pdf Savefig Gives No Figure None Value Error

Python Pdf Savefig Gives No Figure None Value Error