text_html_output_1.png
import matplotlib.pyplot as plt

import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

haberman = pd.read_csv('../input/haberman.csv')

import matplotlib.pyplot as plt

import seaborn as sns
plt.close()

from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
x = haberman['age']
y = haberman['operation_year']
z = haberman['axil_nodes']
ax.scatter(x, y, z, marker='o', c='r')
ax.set_xlabel('age')
ax.set_ylabel('operation_year')
ax.set_zlabel('')
plt.show()