<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def show_hist(self, props=[], bins=20, **kwargs):
 r""" Show a quick plot of key property distributions. Parameters props : string or list of strings The pore and/or throat properties to be plotted as histograms bins : int or array_like The number of bins to use when generating the histogram. If an array is given they are used as the bin spacing instead. Notes ----- Other keyword arguments are passed to the ``matplotlib.pyplot.hist`` function. """

        if type(props) is str:
            props = [props]
        N = len(props)
        if N == 1:
            r = 1
            c = 1
        elif N < 4:
            r = 1
            c = N
        else:
            r = int(sp.ceil(N**0.5))
            c = int(sp.floor(N**0.5))

        for i in range(len(props)):
            plt.subplot(r, c, i+1)
            plt.hist(self[props[i]], bins=bins, **kwargs)