In [1]:
import numpy as np
import pandas as pd
# visualization libraries
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
# plot the visuals in ipython
%matplotlib inline
In [20]:
df = pd.read_json("yeast.json" )
df.columns = ["Time", "S1", "S2", "S3", "S4", "N2", "A3", "S5"]
vcols = ["S1", "S2", "S3", "S4", "N2", "A3", "S5"]
In [38]:
fig = plt.figure()
fig.set_size_inches(16, 12)
ax = df[vcols].plot(x=df["Time"])
ax.legend(loc='center left', bbox_to_anchor=(0.9, 0.5))
plt.savefig("yeast.png", dpi=200)