I am trying to plot a Radar-Chart using the following code from the this source.
And my goal is, to reverse the r-Axis without having to remap my data points as my data is on a scale from 1 to 5, with 1 indicating very food and 5 very bad. (so I would loose the meaning of the scale, when reversing the datapoints)
(Which has been described here)
My first approach was to use matplotlibs inherent functionality.
So with the source being
# Draw ylabels
ax.set_rlabel_position(0)
plt.yticks([10,20,30], ["10","20","30"], color="grey", size=7)
plt.ylim(0,40)
My approach would be
# Draw ylabels
ax.set_rlabel_position(0)
plt.yticks([30,20,10], ["30","20","10"], color="grey", size=7) # Reversed labels
plt.ylim(40,0) # Reversed axis, as described above
But the problem is, that the lower code never finishes. So i don't even know how to debug it, as i don't get any errors.
I also can't seem to reverse only the Axis labels (as with that approach it would be doable to just reverse the data and the labels)