Skip to content

Commit

Permalink
Apply to all of notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 4, 2021
1 parent bfd27d5 commit ca032e6
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@
" x = np.arange(len(data))\n",
" ax.bar(x, data, 1, bottom=bottom, alpha=1.0)\n",
" bottom = data if i == 0 else bottom + data\n",
" ax.scatter(x, workspace.data(pdf, with_aux=False), c=\"k\", alpha=1.0, zorder=99)"
" ax.scatter(\n",
" x, workspace.data(pdf, include_auxdata=False), c=\"k\", alpha=1.0, zorder=99\n",
" )"
]
},
{
Expand Down Expand Up @@ -1249,7 +1251,7 @@
"%matplotlib notebook\n",
"fig, ax = plt.subplots(1, 1)\n",
"fig.set_size_inches(10, 5)\n",
"ax.set_ylim(0, 1.5 * np.max(workspace.data(pdf, with_aux=False)))\n",
"ax.set_ylim(0, 1.5 * np.max(workspace.data(pdf, include_auxdata=False)))\n",
"\n",
"init_plot(fig, ax, default_par_settings)\n",
"interact(animate, fig=fixed(fig), ax=fixed(ax), **all_par_settings);"
Expand Down Expand Up @@ -2264,7 +2266,7 @@
"source": [
"fig, (ax1, ax2, ax3) = plt.subplots(1, 3, sharey=True, sharex=True)\n",
"fig.set_size_inches(18, 4)\n",
"ax1.set_ylim(0, 1.5 * np.max(workspace.data(pdf, with_aux=False)))\n",
"ax1.set_ylim(0, 1.5 * np.max(workspace.data(pdf, include_auxdata=False)))\n",
"ax1.set_title('nominal signal + background µ = 1')\n",
"plot(ax=ax1, **{k: nominal[v] for k, v in par_name_dict.items()})\n",
"\n",
Expand Down

0 comments on commit ca032e6

Please sign in to comment.