File talk:E. coli OD600 over time.svg

Generation of the chart
The chart was generated using a script.
 * 1) Author: Agastya agastya@wn-reporters.org
 * 2) License: BSD-3-Clause
 * 3) Description: Generation of this graph

import pandas as pd import plotly.express as px import plotly.graph_objects as go

file = r'h2data/E_Coli_OD600_Measurments.xlsx' data1 = pd.read_excel(file, sheet_name="E Coli OD600 Air") data2 = pd.read_excel(file, sheet_name="E Coli OD600 anaerobic")

fig = go.Figure fig.add_scatter(x=data1['Time Elapsed (Hours)'], y=data1['OD600'], mode='lines+markers', name='Air') fig.add_scatter(x=data2['Time Elapsed (Hours)'], y=data2['He'], mode='lines+markers', name='He') fig.add_scatter(x=data2['Time Elapsed (Hours)'], y=data2['H2'], mode='lines+markers', name='H2') fig.add_scatter(x=data2['Time Elapsed (Hours)'], y=data2['CO2/N2'], mode='lines+markers', name='CO2/N2')

fig.update_xaxes(title_text='Time Elapsed (Hr)') fig.update_yaxes(title_text='OD600') fig.update_xaxes(nticks=20) fig.update_yaxes(nticks=20) fig.update_layout(title_text="E. coli optical density measurement in various atmospheres", width=850, height=500)

fig.write_image("E. coli OD600.svg")