old_contents: #!/usr/bin/env dls-python
  import matplotlib.pyplot as plt
  
  class Plotter:
  
      def __init__(self):
          plt.ion()
          plt.axis('off')
  
      def set_image_size(self, xsize, ysize):
          pass
  
      def show(self, data):
          plt.imshow(data)
  
  
new_contents: #!/usr/bin/env dls-python
  import matplotlib.pyplot as plt
  
  class Plotter:
  
      def __init__(self):
          plt.ion()
          self._screen = plt.figure()
          plt.axis('off')
  
      def set_image_size(self, xsize, ysize):
          pass
  
      def show(self, data):
          plt.imshow(data, interpolation='None')
  
  
subject: remove interpolation from plotted data (pixels seen as actual pixels) set variable in class to access matplotlib figure object