<div dir="ltr">I think you are looking for stacked histograms: <a href="http://matplotlib.org/examples/pylab_examples/bar_stacked.html">http://matplotlib.org/examples/pylab_examples/bar_stacked.html</a><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 5, 2017 at 12:36 PM bellafkih <<a href="mailto:belafkih.hayat@gmail.com">belafkih.hayat@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I present a data of each month in histogram, so for each month, there two<br>
percentages: first the percentage of messages updates (example: 80 %) and<br>
the second, the percentage of non update messages (eg. 20%), i<br>
must divide the update messages into two parts: the first : important<br>
messages (eg. 70 %) and non important messages (eg 30%).<br>
My current solution is to create two histograms, but i ask if there is a<br>
possibility to create only graphic, so present the 70 % and 30 % in the part<br>
of 80% ?<br>
<br>
Thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://matplotlib.1069221.n5.nabble.com/Combine-two-histogramm-in-one-histogramm-tp48057.html" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/Combine-two-histogramm-in-one-histogramm-tp48057.html</a><br>
Sent from the matplotlib - users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>