# TGraphAsymmErrors can not convert argument in with pyROOT

**URL:** <https://root-forum.cern.ch/t/tgraphasymmerrors-can-not-convert-argument-in-with-pyroot/27710>\
**Category:** ROOT\
**Tags:** python\
**Created:** [January 26, 2018, 2:58pm UTC](https://root-forum.cern.ch/t/tgraphasymmerrors-can-not-convert-argument-in-with-pyroot/27710 "2018-01-26T14:58:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [January 26, 2018, 3:30pm UTC](https://root-forum.cern.ch/t/tgraphasymmerrors-can-not-convert-argument-in-with-pyroot/27710/5 "2018-01-26T15:30:52Z")

</div>

This may have to do with the type of the variables. @adsherman can you post a (non)working example?

[https://sft.its.cern.ch/jira/browse/ROOT-9040](https://sft.its.cern.ch/jira/browse/ROOT-9040)

> [@pyROOT TMultiGraph Segmentation Fault](https://root-forum.cern.ch/t/pyroot-tmultigraph-segmentation-fault/26263/27):
>
> I ran into the issue of “proper” types again and had to reteach myself what was learned above. I wanted to clarify the situation for myself and others who might run into this. At the moment the dtype of the two numpy arrays passed to TGraph must match. In addition, only certain dtype values produce reasonable output: Type Constructor Chosen Output int32 int\* Good int64 double\* Bad float32 int\* Bad float64 double\* Good \* The constructor chosen may not be correct, but is an educa…

---

_[View the full topic](https://root-forum.cern.ch/t/tgraphasymmerrors-can-not-convert-argument-in-with-pyroot/27710)._
