From 771d28a2692f831657313be805cb91fa35e6aff2 Mon Sep 17 00:00:00 2001 From: Aman Desai <98302868+amanmdesai@users.noreply.github.com> Date: Mon, 22 Apr 2024 15:11:34 +0930 Subject: [PATCH] add python statement on importing matplotlib --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 888c84b..b51e30e 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,7 @@ print(collection) Extract the plotting information: ```python +import matplotlib.pyplot as plt xbins, bins, weights = collection.lumi_histogram("SRA_Mh") plt.hist(xbins, bins=bins, weights=weights) plt.xlabel("$M_{h}\ {\\rm [GeV]}$")