# Fill style does not display correctly when using RDataFrame.Histo1D with event weight

**URL:** <https://root-forum.cern.ch/t/fill-style-does-not-display-correctly-when-using-rdataframe-histo1d-with-event-weight/33765>\
**Category:** ROOT\
**Tags:** rdataframe, python, hist\
**Created:** [April 25, 2019, 2:15pm UTC](https://root-forum.cern.ch/t/fill-style-does-not-display-correctly-when-using-rdataframe-histo1d-with-event-weight/33765 "2019-04-25T14:15:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Thomas\_Charman](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/thomas_charman/32/19394_2.png) [@Thomas\_Charman](https://root-forum.cern.ch/u/Thomas_Charman)\
**Post date:** [April 25, 2019, 7:38pm UTC](https://root-forum.cern.ch/t/fill-style-does-not-display-correctly-when-using-rdataframe-histo1d-with-event-weight/33765/3 "2019-04-25T19:38:19Z")

</div>

Hi Danilo,

You are of course correct.

I was not aware that this subtly existed with weighted histograms and THStack objects.

I see from this [other post](https://root-forum.cern.ch/t/thstack-not-filling-histograms-with-color/24577) that the solution is to change:

```auto
hs.Draw()

```

to

```auto
hs.Draw("hist")

```

Thanks very much for you help in solving my issue!

Cheers,  
Tom

---

_[View the full topic](https://root-forum.cern.ch/t/fill-style-does-not-display-correctly-when-using-rdataframe-histo1d-with-event-weight/33765)._
