I am trying to reproduce a specific plot using matplotlib: it should look something like this.

I saw that you can use PolarAxes to draw radial points: for istance, I made a really simple polar graph with the following snippet:
import matplotlib.pyplot as plt fig = plt.figure()
And I get something like this:

So my question is: is there a way to draw lines, as in the first picture, and adjust the width to fit into the whole zircon? Some tips on how to handle colors would also be very helpful.
UPDATE: the data that needs to be built is quite simple: each track is an array of floats, the range of which is in the range from 0 to 9 (and the color is obtained from the RdYlGn color map). The length of the array is a multiple of 96.
UPDATE 2: which was disabled, what I used
# mydata is a simple list of floats a = np.array([[x for i in range(10)] for x in mydata])
source share