Skip to content

Commit

Permalink
Updated example/example.ipynb
Browse files Browse the repository at this point in the history
* Changed the default energyflow dataset installation directory
* Removed redundant savefigs
  • Loading branch information
rikab authored Mar 1, 2023
1 parent d016b1b commit 0bcb449
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"pad = 125\n",
"plot_dir = \"results\"\n",
"\n",
"dataset, sim_weights, sim_factors = load_cmsopendata(\"~/.energyflow/datasets/\", \"sim\", pt_lower, pt_upper, eta, quality, pad, n = N)\n",
"dataset, sim_weights, sim_factors = load_cmsopendata(\"~/.energyflow/\", \"sim\", pt_lower, pt_upper, eta, quality, pad, n = N)\n",
"\n",
"\n",
"example_event = dataset[0]\n",
Expand Down Expand Up @@ -379,7 +379,6 @@
" plt.ylabel(\"Density\")\n",
" plt.title(\"%s: %s, PYTHIA8\" % (obs, param), loc = \"right\")\n",
"\n",
" plt.savefig(\"Plots/Parameters/parameters_%s_%s.pdf\" % (obs, param))\n",
" plt.show()\n",
" plt.close()\n",
"\n",
Expand Down

0 comments on commit 0bcb449

Please sign in to comment.