code: def _make_plt(img):
      "Make plot to image resolution"
      # from https://stackoverflow.com/a/13714915
      my_dpi = 100
      fig = plt.figure(frameon=False, dpi=my_dpi)
      h, w = img.shape[:2]
      fig.set_size_inches(w / my_dpi, h / my_dpi)
      ax = plt.Axes(fig, [0.0, 0.0, 1.0, 1.0])
      ax.set_axis_off()
      fig.add_axes(ax)
      return fig, ax
  
imports: from __future__ import annotations
  from ..basics import *
  from .progress import *
  from ..text.data import TensorText
  from ..tabular.all import TabularDataLoaders, Tabular
  from .hook import total_params
  from .tracker import SaveModelCallback
  import wandb
label_desc: Use image node_id 2 for calling a global function with example usage: _make_plt(img) and returns: fig,  ax