I have some data with some margin of error and am using numpy arrays to plot that data. Assuming the precision is, let's say, 0.05 or 0.03grams, then the data will be something like
[4.0 $\pm$ 0.05, 3.05 $\pm$ 0.03]
How can I show this on my plot (either on the x axis or the y axis. If it's both, even better)?
I use pyplot and my OS is macOS