wx.aui.AuiNotebook Close Buttons on Tabs

I've been looking at the matplotlib wx example here:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx5.html

I was trying to remove the close buttons from the tabs and from what I
can tell they shouldn't be there since the default style isn't
supposed to have close buttons.

Can anyone help?