# Set Precision in pyROOT

**URL:** <https://root-forum.cern.ch/t/set-precision-in-pyroot/35283>\
**Category:** Newbie\
**Created:** [July 20, 2019, 2:45pm UTC](https://root-forum.cern.ch/t/set-precision-in-pyroot/35283 "2019-07-20T14:45:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [July 22, 2019, 9:05am UTC](https://root-forum.cern.ch/t/set-precision-in-pyroot/35283/3 "2019-07-22T09:05:30Z")

</div>

Yes! My comment is that in the current script there’s no fitter yet, so we have to make one in order to be able to set its configuration. We discussed a similar problem here:

> [@Why do I keep getting a zero matrix from TFitResult for some dataset while not the others?](https://root-forum.cern.ch/t/why-do-i-keep-getting-a-zero-matrix-from-tfitresult-for-some-dataset-while-not-the-others/35107/5):
>
> Dear StephanH @StephanH : Thanks. Good news: after using the verbose mode “V”, it returns to me some EXTERNAL ERROR MATRIX, which seems to be the covariance matrix that I always want (see the terminal report below). But still the MIGRAD thing didn’t converge, I’m not sure how that happened when everything “seems” to be fine (the fit result seems to agree with my data; and it actually get some reasonable covariance matrix, and just doesn’t want to share it with me, when I print it.). Now I’m…

It’s C++, but I hope that it’s straightforward to translate it to Python. Let us know if it doesn’t work. (And also if you get it to work. Maybe somebody else will have the same problem in the future.)

---

_[View the full topic](https://root-forum.cern.ch/t/set-precision-in-pyroot/35283)._
