class_docstr: Create confusion matrices using the `PyCM library <https://github.com/sepandhaghighi/pycm>`_.
  
  Args:
      kwargs: Additional keyword args to pass to the `ConfusionMatrix` call
docstr: Plot `ConfusionMatrix` objects from this callback with `matplotlib.pyplot`
  
  Args:
      normalize (bool): If true, normalize the confusion matrix
      title (str): Title to use for the plot, will be formatted with state to create unique titles if desired
      cmap: Colour map object to use for the plot, defaults to `plt.cm.Blues` if None
  
  See:
      `PyCM Source <https://github.com/sepandhaghighi/pycm/blob/master/pycm/pycm_obj.py>`_
  
  Returns:
      PyCM: self
docstr_tok: ["Plot","`","ConfusionMatrix","`","objects","from","this","callback","with","`","matplotlib.pyplot","`","Args",":","normalize","(","bool",")",":","If","true",",","normalize","the","confusion","matrix","title","(","str",")",":","Title","to","use","for","the","plot",",","will","be","formatted","with","state","to","create","unique","titles","if","desired","cmap",":","Colour","map","object","to","use","for","the","plot",",","defaults","to","`","plt.cm.Blues","`","if","None","See",":","`","PyCM","Source","<","https",":","\/\/github.com\/sepandhaghighi\/pycm\/blob\/master\/pycm\/pycm_obj.py",">","`","_","Returns",":","PyCM",":","self"]
code: def to_pyplot(
      self, normalize=False, title="Confusion matrix", cmap=None
  ):
      """Plot `ConfusionMatrix` objects from this callback with `matplotlib.pyplot`
  
      Args:
          normalize (bool): If true, normalize the confusion matrix
          title (str): Title to use for the plot, will be formatted with state to create unique titles if desired
          cmap: Colour map object to use for the plot, defaults to `plt.cm.Blues` if None
  
      See:
          `PyCM Source <https://github.com/sepandhaghighi/pycm/blob/master/pycm/pycm_obj.py>`_
  
      Returns:
          PyCM: self
      """
      return self.with_handler(
          _to_pyplot(normalize=normalize, title=title, cmap=cmap)
      )
  
imports: from __future__ import print_function
  import torch
  import torchbearer
  from torchbearer import Callback
  from torchbearer.bases import cite
  from torchbearer.metrics import EpochLambda, MetricList
label_desc: Use image node_id 13 for calling the PyCM obj's underlying member method code with example usage: obj.to_pyplot(normalize, title, cmap) and returns: self