From 35ce04b683079873156bbaad6cc6bb96c5a1aa4c Mon Sep 17 00:00:00 2001 From: Brady Planden Date: Mon, 21 Oct 2024 15:19:42 +0100 Subject: [PATCH] examples: post-merge fix --- .../monte_carlo_ecm_identification.ipynb | 150 +++++++++--------- 1 file changed, 75 insertions(+), 75 deletions(-) diff --git a/examples/notebooks/monte_carlo_ecm_identification.ipynb b/examples/notebooks/monte_carlo_ecm_identification.ipynb index 197e3c3e6..6625f8333 100644 --- a/examples/notebooks/monte_carlo_ecm_identification.ipynb +++ b/examples/notebooks/monte_carlo_ecm_identification.ipynb @@ -39,7 +39,7 @@ "\n", "import pybop\n", "\n", - "pybop.PlotlyManager().pio.renderers.default = \"notebook_connected\"\n", + "pybop.plot.PlotlyManager().pio.renderers.default = \"notebook_connected\"\n", "parallel = True if sys.platform != \"win32\" else False" ] }, @@ -225,7 +225,7 @@ "\n", "# Take every 100th point\n", "filtered_cycling_df = filter_cycling.iloc[\n", - " [i for i in range(len(filter_cycling)) if not (i) % 100 != 0]\n", + " [i for i in range(len(filter_cycling)) if not i % 100 != 0]\n", "]\n", "filtered_cycling_df.plot(x=\"time/s\", y=\"Ecell/V\", kind=\"line\")" ] @@ -353,9 +353,9 @@ "output_type": "stream", "text": [ "OptimisationResult:\n", - " Optimised parameters: [4.16690213e-03 1.63501618e-03 8.75474303e-05 2.78386368e-04]\n", - " Final cost: 431.8643856551952\n", - " Number of iterations: 68\n", + " Optimised parameters: [4.15690229e-03 1.64236988e-03 8.78939716e-05 2.78474178e-04]\n", + " Final cost: 431.8611377082031\n", + " Number of iterations: 78\n", " SciPy result available: No\n" ] }, @@ -396,9 +396,9 @@ { "data": { "text/html": [ - "