BUG: fix dpi in savefig call; this makes legend() work correctly