# Crosscompute
data_table_path = 'data.csv'
a = "apples"
x = 1
target_folder = '/tmp'
print("y = %s " % (x + 10))
%pylab inline
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
from os.path import join
t = pd.read_csv(data_table_path)
t.head()
t.plot()
target_path = join(target_folder, 'graph.png')
fig = plt.figure()
fig.savefig(target_path)
print('x_image_path = %s' % target_path)
ax = t.plot()
fig = ax.get_figure()
target_path = join(target_folder, 'graph.png')
fig.savefig(target_path)