In [1]:
import ROOT
Welcome to JupyROOT 6.10/06
We now create our histogram
In [2]:
h = ROOT.TH1F("h", "My Notebook Histo;x;#", 64, -4, 4)
We now import the gauss generation from the random module of Python and fill the histogram
In [3]:
from random import gauss
numbers = [gauss(0., 1.) for _ in range(1000)]
numbers
Out[3]:
[0.2840604147313389,
-0.3317407443187422,
0.7937721414252407,
-1.5520876225078477,
-1.5614545884347952,
0.26003024954383197,
-1.5437105088906977,
-2.001967799653037,
-0.1605362428172444,
-0.29031046879387423,
0.13454239355739736,
1.4461206254934997,
-0.6922403915664487,
-0.8547637427759787,
1.8538520457798833,
2.3102603915878226,
-0.6040806370601501,
0.30367914441473937,
-0.12274794994251989,
-0.4645009638850095,
-0.7652093312065453,
-0.5381143437305991,
-1.2896748219902565,
-0.4502239725767628,
-0.4409333493113014,
0.010797936628722683,
0.962904176552101,
0.1517488835708385,
0.7383955727454649,
0.04062545576775033,
1.347759326155007,
-0.9268927196742068,
-0.4835730913899495,
-0.2999314397506317,
0.6535346489114977,
-0.37994448753483195,
0.22209744716675558,
-0.02647895735441214,
-3.725473025401536,
-0.30339769730264654,
0.14806209228936248,
-0.5127104800747607,
0.408400971718067,
-0.7636801495463177,
0.04683894328334137,
1.8095074632612558,
-0.5901210762038459,
0.43524382655416455,
0.06582151370617043,
0.5861428504243493,
-0.6026578333444844,
3.2503745862401234,
0.206089023957263,
-0.7933692381655926,
-1.0812269369955014,
-0.29635689220276146,
0.9252331786653377,
-1.4443926928276594,
0.4673334457549468,
-0.6082560146039171,
-0.3819546353333082,
1.280318898623117,
-0.03485161164405066,
1.1671637740046084,
-0.2841055243927652,
-1.220268532906517,
0.40315943308149044,
-0.16695058237575539,
-1.0505558493215625,
-0.7878216079911151,
0.3201676220128901,
2.201663349322915,
-0.46952446936042536,
1.5580212418991268,
1.2189944608305525,
-0.4983858511022874,
1.4787646700651367,
-1.676652291196982,
0.6937089669156191,
0.9023095058438169,
-0.12165287474810206,
1.8723762795848409,
0.9750426526958019,
-0.8976366600641773,
-0.41639310503190463,
-0.5567531218641372,
-0.9313984614826486,
-0.6000238803815946,
-0.45943348560696595,
1.5628030058948406,
0.19691858259657352,
-0.4613399720280236,
2.1312826267392055,
0.6463012952538175,
1.4618114754996612,
-1.8335100171736753,
-0.005022032733962382,
-0.7311151008049211,
0.6313663987589193,
-0.27363486335530934,
1.0047290273607776,
-0.49450014156063155,
-0.5633358592213984,
-0.3424385276355287,
0.3959266768048761,
-1.7071787218870613,
1.4474737862633844,
0.6367182387564161,
-0.6070822391469742,
-0.31448448972295434,
-0.22682354404712074,
-0.16480437659556887,
-1.5419184438165594,
-0.48083394978836164,
1.7325244125663082,
-0.7664810472484079,
0.621626105899739,
0.8868278313718154,
-0.5584547046379732,
0.3013076529964859,
2.78125196734589,
0.7945528125949866,
0.08460705789374236,
1.004973178941499,
-0.07735455500466139,
1.1955129321829476,
-0.13240781931338533,
0.13366151283626718,
1.3066992544534128,
-0.4268311465419336,
-1.6109992938441327,
-0.5598476916071836,
0.42527643859302033,
-1.8494308348259776,
-0.34664837415758676,
-1.238141989515017,
0.3769078272795825,
0.39248981708028496,
1.8870582365078639,
0.6366488224830439,
0.23359004372411107,
0.7178287975909481,
-0.668238819094577,
-0.4317880800138267,
-1.4138809970427615,
-0.7057713693621127,
-0.8519323341764873,
-0.9072034858063271,
1.0008671752101308,
-1.4929508782961678,
1.4158749203435628,
-1.38158040812375,
-1.5201672944659643,
0.7338437196303005,
0.623575571705571,
0.35220359529122997,
-1.928135069964362,
-0.3916428751372117,
0.7460216834843428,
-1.172384120341729,
-0.3417144194758792,
0.9375208987611843,
-0.8116063604686904,
-0.3674179408029629,
-1.042837312004224,
-0.21015063472390816,
-0.8114934115885597,
-1.6204641731495701,
1.1594475974444192,
-1.0218183558425349,
-1.2442405946988946,
0.6854424344799522,
0.4649833717555288,
-1.640101246261063,
-2.731237924652965,
-1.010622991633047,
-0.9559719448885177,
-0.47986342514248803,
-0.5589426325603685,
0.9361790843968398,
1.8675610691516766,
0.20543539022511484,
0.7018692311811155,
0.0674529895014025,
1.0282965169819274,
-0.49903917464991315,
-0.06779427773645923,
0.22668108398071365,
-0.18242418846799718,
-1.3726941437532159,
-0.5638608688244847,
0.16518216730035576,
1.3904816273927634,
1.7283792346838986,
0.44297335130529863,
-0.7758939537895534,
0.3342553338552116,
1.655371731067325,
1.9451770404763533,
1.4590513474916758,
0.6577179159726672,
0.8894912592460444,
0.1137526664132973,
-1.5388688416449727,
-0.8554388522578505,
-0.7235957667933679,
0.12506376858224902,
0.28648180998198375,
0.5733474775998645,
-0.10729540304289431,
-1.2988493620514845,
1.6153563001117939,
-0.4305121305518234,
-1.2494581450140771,
0.3762441711392289,
-0.7657957353681345,
0.509097712718694,
-0.0945259292483104,
-1.2796722226433044,
1.01207507678982,
-0.1712236727255395,
0.2309388278699009,
-1.4074455385116704,
-0.8841667427236867,
-0.19027412723248566,
-0.6293389553608078,
-1.313605649350949,
-1.2037112003064898,
-0.5016393656158875,
1.7473665348495013,
0.29539278254484463,
0.3980981751851221,
0.35101034614501,
-0.9665642149055022,
-0.13693708196570475,
-1.1556881297246062,
-0.40375834043278563,
1.000330815690779,
-0.30626349168315187,
-0.748772247012098,
-0.5198448207155565,
0.4443897165498838,
0.23127247599547138,
1.1255153058735294,
0.1820524720189133,
-0.7073502262694277,
0.2682893530806284,
-1.311536656608266,
1.3142733767254156,
-1.0249651866626515,
-0.6132688669024292,
0.703298810176251,
-1.333668087297042,
-0.6236167387856578,
-1.1487959860585162,
-0.5616750800726166,
1.1610187532425955,
0.7801148868699049,
-1.8430374009612245,
0.3257603002239116,
0.1850992697188436,
-1.202241797465908,
-2.4017680109146498,
2.4489608706952772,
1.7423103148452523,
3.135461510674058,
-0.48326239316854336,
-1.6131280289673595,
-2.0514594245739444,
1.5523424801719998,
0.3898795294361404,
-0.8639442460234126,
0.9210615515816705,
0.3248999284609555,
1.4520074620877308,
0.6393393537409641,
2.192754963976301,
1.238269811916491,
-0.6783958857466195,
-0.016027851967513624,
-0.3277080692205214,
0.501071994029191,
1.0533211219351832,
0.16839518711150936,
3.5456509569292356,
0.9275650215975187,
0.29303618574685925,
0.0009259922000336305,
0.6854641630503097,
-0.6790087656544004,
-1.869209886466706,
-0.015055296731223496,
-0.5639853132154751,
-1.4024292058640249,
0.09478575939601677,
-0.323907604864502,
-0.9239767675654548,
-0.2311110505147195,
-1.4955954354297696,
-0.03322310000837345,
0.1858224778471551,
-0.36331041939822334,
1.5932937402379925,
-0.190165608540885,
-0.8824747824149433,
-1.3458209887326629,
0.4975200959011905,
-1.1570034429664764,
0.17290178245153842,
-0.018802979949921736,
-1.1460016671840132,
1.6452260736314996,
-0.3149875633330404,
0.3974650227555226,
0.18666709035316215,
0.0018631797302593183,
0.7630712384521448,
0.41422597671373074,
-1.2876086274660958,
-0.4750481765478334,
-1.0703284065437995,
0.7110835988804035,
-0.9483622549388057,
-0.4868181547688008,
-0.49995091171983014,
-0.13353404224796905,
-0.008794733217028292,
-0.7113108895985695,
-0.4899780699236544,
-0.28352067027208666,
-0.2402191580688923,
-0.9793466783479766,
1.4565362650705995,
-1.2200287432483257,
-1.4871892051442555,
-1.2854551059306623,
-1.1804662530634022,
-1.2142718840103117,
-0.46818171705117645,
0.1346952362832628,
-0.5706025603502453,
-0.7677551627980965,
1.2657659539027912,
0.6476133159765657,
-0.06961979983888793,
0.6439554163122888,
0.04440632142395039,
0.3927396882661973,
-0.4215403793105773,
-0.05738587356353855,
0.599029548114262,
-1.2092475950447923,
-0.7106010436711602,
0.308785204833762,
-0.6422102834272454,
0.4202493095478375,
-1.8119122924893751,
0.32420842028216584,
-0.3275368975191092,
-1.3489407537693756,
1.5995335880401924,
0.2615338668044363,
1.0967486163780562,
-1.2467047722316638,
1.4454769209217184,
-1.154300366249595,
1.242215314185177,
0.5032873156844762,
0.3810704131927484,
-0.13382403247724461,
2.334245486473461,
-0.3911812610139121,
-0.6997941525270814,
-1.1570685241014045,
0.7002356548763874,
-0.41308655401407357,
-0.523803335186917,
-0.6303390261138287,
-0.4161389750715782,
0.035908706705937786,
-1.8345889501513737,
-1.4660358491210004,
0.6269438544200792,
1.1120261052056029,
-0.49805347431574276,
1.738035115060462,
-0.33746567991515025,
-0.07326573782242567,
-0.965864797099847,
0.6055450339391534,
-1.4310024707937739,
-1.9836148373187328,
-1.0629932966900209,
-0.21763110066986932,
0.5366314595270766,
-0.08736511052982678,
-2.090798925781055,
0.048489356820933464,
2.4141083336228406,
-0.10823026198258288,
-0.40053157899276626,
0.6480942386394275,
0.0313100901973703,
1.7042402461531345,
0.9049884857148097,
0.4855367296616074,
-1.973007120320939,
-0.11306331077707514,
0.9170813223499977,
0.16030222639137545,
0.6968478555546314,
0.4172127049925446,
-0.025132203060093006,
-1.575935201479959,
-1.91409357248592,
-0.40652503509704147,
2.040013938047333,
0.5735103516535801,
-0.5173063228819614,
-2.1582962045578253,
-0.29363208186120016,
-1.731795764806685,
-1.2350420604045154,
-1.4573281148748158,
-1.1211828976671632,
1.6868407391929787,
0.8090611967511179,
-0.320016951609626,
0.8191123024003167,
-2.102750033806899,
0.6329385615033359,
-2.453550846253034,
-0.6374762600531794,
1.273785197554762,
-0.4548892813316804,
-0.5109464287390821,
0.2999110057138242,
-0.5953187343344349,
-2.084796275875899,
0.11145749225919149,
0.5723638021780388,
-0.008890308630980651,
-1.333182509534443,
0.9729327569918258,
-0.5864788540173271,
1.0676533307663079,
-0.5552132044407061,
-1.7585868542155327,
-0.13775901611756775,
0.43585725955549987,
0.9970665266589253,
-1.5429983120684427,
-0.3905606364621916,
-2.0903011540705334,
-0.3821971143451082,
0.5596818457375908,
1.5805217498407094,
-1.3058698664702137,
-0.14864829095631532,
-0.9369956579220494,
0.55289499464249,
0.785791435446834,
-1.8871140977709522,
0.8996783197582269,
-1.2357032315613292,
0.5566921159017888,
-0.45413700459376743,
0.26120761435817214,
-0.02659178335439242,
0.3813744863391075,
-1.038135967768395,
1.1846171367097458,
0.7662383057194112,
0.06014394831325147,
0.827314991632884,
1.1059436984240312,
0.5354224143760967,
1.172898322441763,
-0.7209995374321428,
0.08870443956466349,
-2.208816424887434,
-0.5304621085271978,
-0.3180379853014608,
-0.3286146449538441,
0.6823274977814153,
2.1075798865286184,
0.013178913689244873,
0.06038572046725002,
1.1838805198135178,
-0.5743629974435177,
-1.1400878855596737,
0.7061730188823402,
-0.8201355887392036,
-1.286390735870684,
1.1832097691274064,
1.2016271021347196,
-0.4983052810824284,
-0.9315224957077555,
-0.9416145823353878,
-0.27574091373032844,
1.4391175979608437,
-0.2671162806180203,
-0.43752667353999014,
-1.7208687005884904,
1.5742355435754307,
0.2951441894273941,
0.630453272401366,
-0.6647150009969013,
1.3282326577956032,
-0.6066866126071911,
-0.4545945168540299,
-0.6808118208707512,
-3.3300971663159546,
1.5036360015824795,
-0.5758080161548529,
-0.02792073029185884,
-1.0036291187809834,
0.963998965852886,
-0.16644323194776595,
-0.18192879626665215,
-0.33566923708256174,
-0.8217745307420932,
1.8699142871681274,
1.3634572149581634,
-0.24260286402161416,
1.1828161198879323,
-0.5873106014657848,
-2.7893329728403513,
-0.5899726605507787,
-0.5608138547125326,
-0.5698290127012713,
-0.8986625672610614,
-1.049574814125547,
1.2760039246629835,
2.3091668729423,
-0.5982984627087422,
-0.7779610768729195,
-1.387990781546685,
-0.27219969766007385,
0.6346008219077015,
-0.008904205992527257,
1.1334504629107673,
0.20256940553022423,
-1.1703081770101897,
-1.2776540694716636,
1.1465803771778695,
-0.49390610971647536,
0.2280772981940115,
-0.7317478101226853,
-1.2807807945255374,
-0.2953856636958327,
-0.6115924900315548,
0.531731656883167,
0.24139507048177092,
0.5498044645503116,
-0.7796043332787121,
0.5687701122808916,
-0.22943556956330177,
-0.6277032938001936,
-0.8992569452338571,
-1.3484378498097638,
0.2361663712602101,
-1.2654907004681986,
0.8738164755027844,
0.7762121065470656,
0.12976953239753777,
1.1135079177971303,
0.3808943330803263,
-0.3021660599853297,
0.032807108644674135,
0.6869867344306425,
0.864713286142906,
0.47903733254693687,
-0.053041762887490525,
-0.31187375678558493,
-2.038311622530276,
1.033872432889175,
1.9563334862628472,
0.8096118580770862,
-0.7217604772056497,
-0.8032360486204292,
0.7239867876705476,
0.44950436854619197,
2.022875160523035,
-1.7061132294640837,
0.19086169086997135,
0.3167472967769604,
-0.6967534481849506,
-0.13577467139472676,
-0.30305205392630014,
1.33002777481734,
-1.2305867096789718,
0.5016067884652757,
-0.885448932075325,
0.5558827079189036,
1.7856242939150084,
0.3824861141406362,
1.7740841467457795,
-0.3183288262260921,
-0.254808256930492,
0.08178880037907482,
0.19403024230572594,
-0.08028581573486605,
-0.23547210875598543,
-0.41798547392906216,
0.9081647558638442,
-0.8909681001721953,
0.3032285278095492,
0.7353460885479859,
0.4628864325677552,
-0.85808822156761,
-0.7201052294222232,
-1.01118582932278,
0.741457559938774,
-0.6590275536716015,
1.1452236803099498,
-0.9279551426699245,
-0.7821645362343518,
-0.15827441106541315,
-0.8334316498259903,
-1.4027024099738326,
0.7313562576711276,
1.2408370768673735,
0.3429782295903905,
-0.2916749378498347,
-0.01277521478675679,
-0.1410863007094849,
-0.5602072863431116,
1.6860492942892993,
0.7728362167889224,
1.0486236961882016,
0.6205714435368758,
-0.5135812513316309,
0.07552050559061092,
-0.6218617342468854,
0.5323655498873068,
0.27495746052563125,
1.8095037224998634,
-0.6537836614447414,
1.1395755750775287,
-0.4640358153771852,
-0.08563149946837899,
-1.3751728417339175,
0.7329930151592757,
-0.19720783109141174,
0.4759347252864298,
-0.2616837719803492,
-0.08902699176689582,
-0.06318803096160076,
0.6870193724227199,
1.194394507038958,
-1.047585737163905,
0.31368094766637483,
-0.44171520596424496,
0.377449062724753,
0.8267981409079864,
0.20863240711569178,
-1.2363390680398183,
0.4609521602988965,
0.5021374959178547,
0.03951656198894099,
0.10074457827644437,
1.3012619967450256,
-0.18815261322765625,
2.301471285199703,
0.3671157849155006,
0.004334249136704819,
1.3108198966558113,
-1.1194439811520296,
2.199153224850303,
-0.36623436686120114,
0.4168764730735165,
-0.024754868714073116,
-0.05999538250305258,
0.06721587778931054,
-0.9124320262377154,
-0.9503264994321587,
0.0903302337277789,
-0.7161122643665178,
-1.3218961762490247,
-0.6933538108883658,
1.137542938294809,
2.8602191281454368,
0.46952518856685466,
0.14312667733529275,
0.6425783997185068,
0.7389903715171123,
-0.8159438177257423,
0.6342384029648261,
0.3560917825768704,
0.8469825566134612,
0.593204010636019,
0.005003581768636658,
-1.603035474164249,
0.48600219098568614,
-0.12140430526371267,
-0.30581043821585413,
1.8363486813671726,
1.889916503765119,
-1.0900430910600882,
0.32584380878212243,
-0.8461760538563821,
-1.6524482378570657,
-0.8759642161132941,
-0.6143955088039013,
0.669826815564652,
-0.5827975789570498,
-0.15326915108796998,
0.5117829292048627,
1.6796119461623167,
0.8398824484063682,
-0.24869736595858866,
-1.9727743053865665,
-0.29644232721318475,
0.20216222053191357,
0.05135083856969673,
-0.5189311735581049,
-0.6638686999995781,
-0.21166151011203604,
1.4179426589030222,
2.2287765491145066,
0.7753527950858561,
0.27225977638118626,
-0.9959093124454539,
0.49784850861757546,
1.7732239128052354,
-0.31301010600483037,
-1.7235548619012595,
0.6838951587312021,
0.06641905060211718,
-1.0989006159426422,
2.0455045439019193,
0.615304903374647,
-0.3241791101995393,
0.05639227107470768,
-1.1664373990130334,
0.8909551049997074,
-1.1803469027921045,
0.9353798535047617,
0.9939656417625234,
-0.3180301900681986,
-1.0854938222475805,
-0.5587289725335953,
1.4776098648310805,
0.624990026445316,
-0.3170673637791412,
-2.791074881192096,
-0.3080164765535109,
1.1759080005957534,
-0.819439589654384,
0.40244634128403184,
1.4514044185467174,
0.8773095623737711,
1.2551768807605146,
-0.07533119270913591,
0.5938991778198858,
0.9635226999059096,
1.4566044051766491,
-0.8175192388798045,
0.06179854342009913,
1.9676420090322222,
-1.5590415850967794,
-1.1164387450111286,
0.07814650956846525,
1.5008875857734592,
0.2737475069081515,
-0.7976222798184935,
0.6417728111189289,
1.2759112963547734,
0.2751724732050765,
-1.7692994913925009,
0.7725635964945707,
0.18694417894484414,
-0.7638871417021756,
0.5294131816223053,
-1.9480261662412532,
-1.6625408278131892,
0.7440387022677889,
-0.892753051126558,
0.46758915673765106,
-0.3285033705858666,
-0.602787194557576,
-0.6419432131037605,
0.261218373296578,
1.553656756563515,
-1.3816416196257628,
-1.957035666755291,
-0.0711553687417896,
-0.4928650240682127,
1.476093274935774,
0.15705734619946535,
-0.9034987416928426,
1.393822115418197,
0.8409405567913306,
1.983742381123165,
1.0080777529112113,
0.12464924283560555,
0.41981117467713436,
-1.8175366400264839,
-1.1345160074983154,
-0.8699825013130039,
-0.30666830735275086,
-0.5110658915682621,
-0.3813277100340119,
0.2542998086892257,
-1.7089896943899154,
-1.5092194749255992,
0.771937837871072,
1.0917267650729745,
-2.5234272855453987,
0.19088689869882647,
0.9122321256943572,
0.7125897769321715,
-0.6581307579871645,
-0.31496999433921585,
-0.687336152156431,
0.7307054640620116,
0.553416175132509,
0.2258869601612659,
1.9822454856278044,
1.8294896096782707,
-1.2192499869383335,
0.17415743360719188,
-0.08123196376665862,
-1.4370142927549852,
1.0032135896573982,
-0.03106341090650181,
-0.48566649416114693,
0.7447617831289233,
0.792700191309662,
-0.7641975296238794,
-0.4980598196860854,
0.3834907188662995,
-2.111405636546901,
-0.3739710821595629,
-0.38471052715385523,
-1.4022608081454024,
0.13788024352389555,
0.8765847501721903,
-1.0294360478432178,
-1.3857584039716535,
1.0178803331973147,
-0.8355191769340795,
-0.07175506697847699,
0.005105753759995563,
0.37116057547016806,
-0.47422836152490055,
-0.3777356508859564,
-0.6848073750103107,
-1.5522599682831995,
1.2875548820706217,
-1.7924842843055069,
1.488405621408037,
-0.13602346154949835,
1.8541622720944595,
0.20427245637679634,
0.0816829536162462,
1.6109595393860148,
-0.036623707496250664,
1.4975544719163143,
-0.13786798071436449,
1.36463983282143,
-0.9820515760966709,
-0.8127479931939212,
1.77511306324992,
-0.5530221872666117,
-0.44412519439259796,
-0.3920111601720726,
-0.35905896080863936,
-0.40070772689055445,
-0.587852573344283,
0.34934472414234424,
-1.7737041604427606,
-0.19219943035237588,
-0.27192328569116964,
1.5118216384265646,
0.2518051744415417,
-0.5670440725073052,
-1.4271641704235256,
0.40383976652917825,
0.5923205856071956,
0.6616252422072089,
-0.18003702065614555,
-0.8721023074050638,
-0.4602857895874488,
-0.05166278010809865,
-1.5024392289120045,
-0.6347088775894423,
-0.20975884931598307,
0.9116529305117338,
-2.168410699347516,
-0.8898085790785666,
-0.41800778739321615,
-0.6254949159451721,
-0.8818895592786832,
-0.7480971690067445,
0.9879417448034054,
-0.8437808406644856,
0.1752697438253851,
0.3677669887458039,
-0.5031086662026519,
0.4971392885524313,
1.0288906799459283,
0.1614596161968891,
0.46081112203892,
-0.6474315718878356,
-0.07623071156692961,
-1.1539724678783552,
-0.16650520076967384,
1.3061659269058152,
1.9128038060539359,
-0.42478300614390646,
0.5915383566341953,
0.0682336886603604,
-1.176369845877498,
0.6552781462748724,
-0.09823287884474034,
-0.2369677701392631,
-0.20485351314200828,
1.1840976354520505,
-0.588140386418601,
-0.284189090254687,
-0.21398808599926927,
-0.7593593945490361,
1.1126619046392041,
-0.42248409378955504,
-1.9845268461207322,
-0.2910921243547365,
-0.04646887639645713,
0.8110105186791666,
0.9116605325239533,
1.8563860251354771,
-0.7896816133988318,
-1.923182983811596,
0.3357621339779237,
-1.684764701367849,
1.3944751620424505,
-0.7085478180782413,
2.5565966277683927,
0.3194934400504782,
-0.6093902417356172,
0.4582101361146995,
0.9908927331378196,
-0.7108174494660071,
-0.7842857388618628,
0.10354952554205596,
-0.9321273178222955,
0.9590811025983632,
0.5322281581987202,
0.8590689427298249,
0.23906326194829483,
-0.12070514476327533,
1.4434662183208555,
-0.4097557398153158,
0.18202284907821342,
1.333310471713296,
-0.14250816630060523,
-1.4587262742465397,
-0.17818353846790982,
1.3344117279161256,
1.41476254073875,
1.2750240946405726,
0.06117173902593832,
1.3456914408152318,
0.3835259610850771,
0.5924446410711641,
1.2231195488112026,
-0.1981795043899899,
-1.58690617281987,
-0.6310779638911765,
-0.3539140468980162,
0.987445065166686,
-1.1900788682981729,
-0.07228062630652222,
0.31186724477225414,
0.1128967332857768,
-1.4262768534273065,
-0.7844280524703512,
-0.35849384819946734,
0.6779600924842756,
2.3443433997443153,
2.004638666030311,
-0.10881496639734704,
-0.23495112228900392,
-1.1425780320586318,
-1.35139468138879,
0.9381074835901377,
-0.16454747230600755,
0.5671807155595263,
-0.31919287543736796,
-0.01574448575773219,
-0.3540895226226398,
0.31568143279676525,
2.763079407433337,
-1.3759887416852976,
0.27144943149278294,
0.6809306082320787,
-0.03217459090743659,
0.05647529675251947,
-0.896572342179271]
In [4]:
for i in numbers: h.Fill(i)
Time for styling the histogram and use jsroot
In [5]:
%jsroot on
h.SetLineColor(ROOT.kBlue)
h.SetFillColor(ROOT.kBlue)
c = ROOT.TCanvas()
h.Draw()
c.Draw()
Content source: root-mirror/training
Similar notebooks: