New version problem


I wanted to compile a old matplot program with the new matplotlib v0.54.2 but I get the error:

  NameError: name 'get_current_fig_manager' is not defined

the line of code is:

  g_canvas = get_current_fig_manager().canvas

This use to work with matplotlib v0.53. I use pyGtk v2.0.

Start code:
  import pygtk
  import gtk

Please help!