Skip to content

Matplotlib: creating a legend without the box around

tiagopereira edited this page Aug 30, 2011 · 1 revision

How to get rid of the box surrounding the matplotlib legends?

   plot(x,y,label='my label')
   lg = legend()
   lg.draw_frame(False)

and it's done!

Clone this wiki locally