probfit icon indicating copy to clipboard operation
probfit copied to clipboard

Custom drawing shouldn't require making a default plot first

Open cdeil opened this issue 11 years ago • 1 comments

At the moment the tutorial shows that it is possible to draw the distributions and data yourself nicely be getting arrays like this:

((data_edges, datay), (errorp, errorm), (total_pdf_x, total_pdf_y), parts) = \ 
binned_likelihood.draw(fitter, parts=True);

Is it possible to change this so that it is possible to get these arrays without making a default plot first. Maybe add an option to the draw method?

cdeil avatar May 11 '13 17:05 cdeil

Yah I know... It was just a quick patch. We definitely need this function.

piti118 avatar May 13 '13 15:05 piti118