From a8837beed28ee3f53da799c3accd123d8d1d4e93 Mon Sep 17 00:00:00 2001 From: Bjoern Ludwig <bjoern.ludwig@ptb.de> Date: Tue, 2 Jan 2024 17:56:00 +0100 Subject: [PATCH] refactor(plots notebook): introduce printing of pdf paths --- .../examples/plots.ipynb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/pytorch_gum_uncertainty_propagation/examples/plots.ipynb b/src/pytorch_gum_uncertainty_propagation/examples/plots.ipynb index a8681a0..25d6969 100644 --- a/src/pytorch_gum_uncertainty_propagation/examples/plots.ipynb +++ b/src/pytorch_gum_uncertainty_propagation/examples/plots.ipynb @@ -75,11 +75,6 @@ " margin_l=63,\n", " margin_r=63,\n", ")\n", - "common_tlr_margin_for_layout = dict(\n", - " margin_t=5,\n", - " margin_l=63,\n", - " margin_r=63,\n", - ")\n", "common_bottom_axis_title_margins = dict(\n", " margin_b=52,\n", ")" @@ -3999,7 +3994,8 @@ "outputs": [], "source": [ "softpluss_filename = \"softpluss_graphs.pdf\"\n", - "path_to_pdf = export_plotly_to_pdf(fig_softplus, softpluss_filename)" + "path_to_pdf = export_plotly_to_pdf(fig_softplus, softpluss_filename)\n", + "path_to_pdf" ], "metadata": { "collapsed": false @@ -5151,7 +5147,8 @@ "outputs": [], "source": [ "sigmoid_filename = \"sigmoid_graphs.pdf\"\n", - "path_to_pdf = export_plotly_to_pdf(fig_sigmoid, sigmoid_filename)" + "path_to_pdf = export_plotly_to_pdf(fig_sigmoid, sigmoid_filename)\n", + "path_to_pdf" ], "metadata": { "collapsed": false -- GitLab