In [7]:
import numpy as np
# from matplotlib.figure import Figure
import matplotlib.pyplot as plt

In [8]:
%matplotlib inline

In [9]:
# fig = Figure((3.0, 3.0), dpi=200)
fig = plt.Figure((3.0, 3.0), dpi=200)

In [10]:
axes = fig.add_subplot(111)

In [17]:
npa = np.array([1,2,3,4])

In [29]:
a = np.c_[npa,npa*2]

In [30]:
a


Out[30]:
array([[1, 2],
       [2, 4],
       [3, 6],
       [4, 8]])

In [ ]:


In [33]:
a[:,0]


Out[33]:
array([1, 2, 3, 4])

In [23]:
fig = plt.Figure()

In [34]:
ax = fig.add_subplot(111)

In [25]:
ax.set_x


Out[25]:
<matplotlib.axes._subplots.AxesSubplot at 0x10b7aa748>

In [ ]: