I have two lists in Python and they look like this
lst1 = ['T', 'A', 'T', 'G', 'C', 'A', 'T', 'G', 'C', 'C', 'G', 'T', 'A']
lst2 = [0, 0, 0, 0, 0, 2, 2, 2, 1, 2, 1, 0, 0]
It's a nucleotide sequence, so the first A is obviously different from the next. By simply using
plt.plot(lst1, lst2)
plt.show()
The repeating characters on the X axis is being combined into just the 4 distinct ones. Is there any way I can plot against such a sequence of characters with repetitions?