Module 13

Plot

Visualizing the results.

Visualization

Create a bar chart of GC content across sequences.

import matplotlib.pyplot as plt
genes = ["Tv01", "Tv02"]
gc = [54.2, 48.1]
plt.bar(genes, gc)
plt.title("GC content")
plt.savefig("final_gc.png")
print("Plot saved")
Your task

Plot

  • Create a bar chart.