title: Ploting 3D points from csv file, Python?
body: <p>I a trying to plot values from csv file. there are three columns which i can print them out, however, it doesnt plot the values. 
  Any suggestions how to fix the code?
  Thanks in advance </p>
  
  <pre><code>import matplotlib.pyplot as plt
  import plotly.plotly as py
  import plotly.graph_objs as go
  import plotly.figure_factory as ff
  from mpl_toolkits.mplot3d.axes3d import Axes3D
  import matplotlib.pyplot as plt
  from mpl_toolkits.mplot3d import Axes3D
  
  import sys
  from scipy import interpolate
  from scipy.interpolate import griddata
  import csv
  
  fig = plt.figure()
  ax = fig.add_subplot(111, projection='3d')
  
  
  with open('text.csv', 'r') as f:
      obj = csv.reader(f)
      X, Y, Z = [], [], []
      for i,row in enumerate(obj):
          if i&gt;0:
               xstring = row[0]
               ystring = row[1]
               zstring= row[2]
  ##             print (xstring, ystring, zstring)
  
  zdata = float(zstring)
  xdata = float(ystring)
  ydata = float(xstring)
  ax.scatter3D(xdata, ydata, zdata);
  plt.show()
  </code></pre>