I have a list with 3 dictionaries each with multiple values.
I want to create a graph in which each key is a line in a different color (say r, g, b) formed by its values. Also I want a legend for each line.

This is the code I started with:

```
plt.figure(figsize=(14,8)) 
plt.title('Grafico ripetizioni per linea')
plt.xlabel('numero caratteri')
plt.ylabel('ripetizioni per linea')
for k in dd.keys():
    plt.locator_params(axis='y', nbins=15)
    for v in dd.values():        
        plt.locator_params(axis='x', nbins=30)
        xs = range(0, len(v))
        ys = v
        plt.plot(xs, ys, label='chiave' + str(k))
plt.minorticks_on()
plt.margins(x=0)
plt.show()

```

I obtain a plot with the three lines with different colors, but 
don't know ho to specify color and label for each line.