MPL compliant

Hi all,
have an happy new year!
I want to make the windrose module more mpl compliant, with setp and others,
then could you say me what is the best way to do so?
I have tried to subclasse PolarAxes with the code below, but I've got a bad
result, like you can see in the picture :frowning:
An idea?

wr.png

路路路

################
import pylab as P
class WindroseAxes( P.PolarAxes ):
聽聽聽聽def __init__( self, *args, **kwargs ):
聽聽聽聽聽聽聽聽P.PolarAxes.__init__( self, *args, **kwargs )
聽聽聽聽聽聽聽聽P.box( False )
聽聽聽聽聽聽聽聽self.set_axisbelow( False )
聽聽聽聽聽聽聽聽self.set_thetagrids( angles=arange(0,360,45),
labels=['E','N-E','N','N-W','W','S-W','S','S-E'], frac=1.2, weight='bold' )
###############

--
Lionel Roubeyrie - lroubeyrie@...1068...
LIMAIR
http://www.limair.asso.fr