def _load_bitmap(filename):
basedir = os.path.join(rcParams['<STR_LIT>'],'<STR_LIT>')<EOL>bmpFilename = os.path.normpath(os.path.join(basedir, filename))<EOL>if not os.path.exists(bmpFilename):<EOL><INDENT>raise IOError('<STR_LIT>'%bmpFilename)<EOL><DEDENT>bmp = wx.Bitmap(bmpFilename)<EOL>return bmp<EOL>
Load a bitmap file from the backends/images subdirectory in which the
matplotlib library is installed. The filename parameter should not
contain any path information as this is determined automatically.

Returns a wx.Bitmap object