code: def cm2inch(*tupl):
      """
      Specify figure size in centimeter in matplotlib
      Source: http://stackoverflow.com/a/22787457/395857
      By gns-ank
      """
      inch = 2.54
      if type(tupl[0]) == tuple:
          return tuple(i / inch for i in tupl[0])
      else:
          return tuple(i / inch for i in tupl)
  
file_path: NeuroNER/neuroner/utils_plots.py
imports: from __future__ import print_function
  from __future__ import division
  import matplotlib
  from matplotlib import cm
  import matplotlib.pyplot
  import numpy
  import sklearn.preprocessing
label_desc: Use image node_id 3 for calling a global function with example usage: cm2inch() and returns: tuple, tuple