Matplotlib to autocad

How to save contour map drawn by Matplotlib as CAD file