Magnetometer Z-value is wrong
I am trying to stream magnetometer data using my Python script. To check my results, I left the magnetometer still, got magnetometer values using the MetaBase app and compared them to the ones obtained from my program. While the X and Y values are correct and very similar to the ones from the MetaBase app, the z values seems to be incorrect. I have attached the results from both my program and the app. Could you kindly let me know why this is happening please?