human
What is a the Python program you requested given the following:
!jupyter nbconvert 2016-12-20-RMS-JupShow.ipynb --to python --output ../src/2016-12-20-RMS-JupShow.py

# %load ../src/2016-12-20-RMS-JupShow.py

# JupShow
# =========
# 
# A class for managing plots and images on jupyter-notebook. 
# 
# 

# In[1]:

import matplotlib.pyplot as plt
import pylab
import numpy as np
from scipy.misc import imresize

class JupShow:
    #constructor
    def __init__(self, ncols = 3,figsize =  (12,8),imwidth = []):
        self.imgs = []
        self.titles = []
        self.ncols = ncols
        self.imwidth = []   
        self.figsize= figsize
        return
    #append images to list of images to be displayed
    def imshow_add(self,img,title = ""):
        self.imgs.append(img)
        self.titles.append(title)
        return 
    #sets figure size. Ex figsize = (12,8)
    def set_figsize(self,figsize):
        self.figsize = figsize
        return
    
    #sets image width
    def set_imwidth(self,imwidth):
        self.imwidth = imwidth
        return    
    #converts matplotlib image object to numpy array
    def fig2img(self,figure):
        # draw the renderer
        figure.canvas.draw ( )
        # Get the RGB buffer from the figure
        w,h = figure.canvas.get_width_height()
        buf = np.fromstring ( figure.canvas.tostring_rgb(), dtype=np.uint8 )
        buf.shape = ( h, w, 3 )
        return buf

    #displays image in subplot format 
    def imshow(self):
        number_of_subplots = len(self.imgs)
        nlines = number_of_subplots/self.ncols + 1
        plt.close("all")
        figure1 = plt.figure(figsize = (12,8))
        for i,v in enumerate(xrange(number_of_subplots)):
            v = v+1
            ax1 = pylab.subplot(nlines,self.ncols,v)
            img = self.imgs[i]
            #Test if its a numpy.array or matplotlib plot
            #  if it is a plot it converts to numpy.array
            try:
                img.shape
            except:
                img = self.fig2img(img)
            #Rescale images if necessary
            if...
Given the above code, generate some markdown instructions for it.
assistant
#Here is the Python program you requested.

Conversão para arquivos python