parameters: (self, idx)
docstring: Implementation of base class function.
          Turns 'self.plt_obj' into a matplotlib.image.AxesImage object.
docstring_summary: Implementation of base class function.
          Turns 'self.plt_obj' into a matplotlib.image.AxesImage object.
docstring_tokens: Implementation of base class function . Turns self . plt_obj into a matplotlib . image . AxesImage object .
function: def _create_plt_obj(self, idx):
          """
          Implementation of base class function.
          Turns 'self.plt_obj' into a matplotlib.image.AxesImage object.
          """
          dat, meta = self.data[idx]
          self.plt_obj[idx] = self.ax.imshow(
              np.abs(dat).T * meta.dV,
              extent=meta.extent * [self.mu, self.mu, self.e_mc_r, self.e_mc_r],
              interpolation='nearest',
              aspect='auto',
              origin='lower',
              norm=LogNorm(),
              cmap=self.colors[idx])
          # create the colorbar and a separate ax for it
          self.colorbars[idx] = plt.colorbar(
              self.plt_obj[idx], cax=self.colorbar_axes[idx])
          self.colorbars[idx].solids.set_edgecolor("face")
          self.colorbars[idx].ax.text(
              .5, .5, self.sim_labels[idx], ha='center',
              va='center', rotation=270,
              transform=self.colorbar_axes[idx].transAxes)
  
          self.ax.set_xlabel(r'${0}$ [${1}$]'.format(meta.r, r'\mathrm{\mu m}'))
          self.ax.set_ylabel(r'$p_{0}$ [$\beta\gamma$]'.format(meta.p))
function_tokens: def _create_plt_obj ( self , idx ) : dat , meta = self . data [ idx ] self . plt_obj [ idx ] = self . ax . imshow ( np . abs ( dat ) . T * meta . dV , extent = meta . extent * [ self . mu , self . mu , self . e_mc_r , self . e_mc_r ] , interpolation = 'nearest' , aspect = 'auto' , origin = 'lower' , norm = LogNorm ( ) , cmap = self . colors [ idx ] ) # create the colorbar and a separate ax for it self . colorbars [ idx ] = plt . colorbar ( self . plt_obj [ idx ] , cax = self . colorbar_axes [ idx ] ) self . colorbars [ idx ] . solids . set_edgecolor ( "face" ) self . colorbars [ idx ] . ax . text ( .5 , .5 , self . sim_labels [ idx ] , ha = 'center' , va = 'center' , rotation = 270 , transform = self . colorbar_axes [ idx ] . transAxes ) self . ax . set_xlabel ( r'${0}$ [${1}$]' . format ( meta . r , r'\mathrm{\mu m}' ) ) self . ax . set_ylabel ( r'$p_{0}$ [$\beta\gamma$]' . format ( meta . p ) )