matplotlib

how to get stable plot using matplotlib

I’m trying to plot 3D poses of hand using matplotlib. For every frame of video or we can say if data is changed then plot size(X, Y, Z) also changed with respect to object(hand poses) size and position. For more detail below are two screen…

Plot a list of tuples on x axis

I’ve data like the following
x = [(1,0), (0, 1), (2, 1), (3, 1)]
y = [1, 4, 8.5, 17.5]

and I would like to plot in the following way

But matplotlib considers x as a 2 column vector so the y data is plotted twice.
Suggestions on how to ge…