title: How do I plot a sliced numpy data array on a pyqtgraph remoteview
body: <p>I am having trouble with the <code>RemoteGraphicsView()</code> functionallity in PyQTGraph. I have a numpy ndarray which I wish to plot on a RemoteGraphicsView (for speed as it runs in a seperate process).  I want to plot a slice of the data but it fails with a TypeError </p>
  
  <pre><code>TypeError: must be string or single-segment read-only buffer, not numpy.ndarray
  </code></pre>
  
  <p>The following is a code snippet which demonstrates the problem I have in a larger program. As can be seen the data is a numpy.ndarray which is sliced.</p>
  
  <pre><code>import pyqtgraph as pg
  import numpy as np
  import pyqtgraph.widgets.RemoteGraphicsView
  
  app = pg.mkQApp()
  
  datview = pg.widgets.RemoteGraphicsView.RemoteGraphicsView(debug=False)
  datview.pg.setConfigOptions(antialias=True) 
  allplots = datview.pg.GraphicsLayout()
  datview.setCentralItem(allplots)
  
  w1 = allplots.addPlot(row=0,col=0)
  
  layoutWG = pg.LayoutWidget()
  layoutWG.addWidget(datview)
  layoutWG.show()
  
  data = np.random.randn(10000,100)
  curve1 = w1.plot(pen='r')
  
  now = pg.ptime.time()
  for n in range(100):
      curve1.setData(data[:,n])
      app.processEvents()
  
  app.exec_()
  </code></pre>
  
  <p>Any help would be much appreciated.</p>