code: def _rgba_to_wx_bitmap(rgba):
      """Convert an RGBA buffer to a wx.Bitmap."""
      h, w, _ = rgba.shape
      return wx.Bitmap.FromBufferRGBA(w, h, rgba)
  
file_path: catboost/contrib/python/matplotlib/py3/matplotlib/backends/backend_wxagg.py
imports: import wx
  from .backend_agg import FigureCanvasAgg
  from .backend_wx import _BackendWx, _FigureCanvasWxBase
  from .backend_wx import NavigationToolbar2Wx
label_desc: Use image node_id 1 for calling a global function with example usage: _rgba_to_wx_bitmap(rgba) and returns: wx