diff --git a/docs/notebooks/analyses.ipynb b/docs/notebooks/analyses.ipynb index 1b3d811..9b3ff56 100644 --- a/docs/notebooks/analyses.ipynb +++ b/docs/notebooks/analyses.ipynb @@ -58,6 +58,16 @@ "database_chooser.load_existing_sqlite_database(\"demo_poc.sqlite\")" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "1a83ad5a-1afa-468d-a254-d0137ebdf260", + "metadata": {}, + "outputs": [], + "source": [ + "preferred_matplotlib_style = \"seaborn-v0_8-colorblind\"" + ] + }, { "cell_type": "markdown", "id": "3a6a56f9-45ad-497d-a243-82d81130a7d7", @@ -232,7 +242,7 @@ "source": [ "yard_capacity_analysis_report = conflowgen.YardCapacityAnalysisReport()\n", "\n", - "with plt.style.context(\"seaborn-colorblind\"):\n", + "with plt.style.context(preferred_matplotlib_style):\n", " yard_capacity_analysis_report.get_report_as_graph(\n", " storage_requirement=conflowgen.StorageRequirement.reefer\n", " )\n", @@ -254,7 +264,7 @@ "metadata": {}, "outputs": [], "source": [ - "with plt.style.context(\"seaborn-colorblind\"):\n", + "with plt.style.context(preferred_matplotlib_style):\n", " yard_capacity_analysis_report.get_report_as_graph(\n", " storage_requirement=[\n", " conflowgen.StorageRequirement.standard,\n", @@ -310,7 +320,7 @@ "source": [ "container_dwell_time_report = conflowgen.ContainerDwellTimeAnalysisReport()\n", "\n", - "with plt.style.context(\"seaborn-colorblind\"):\n", + "with plt.style.context(preferred_matplotlib_style):\n", " container_dwell_time_report.get_report_as_graph(\n", " container_delivered_by_vehicle_type={\n", " conflowgen.ModeOfTransport.deep_sea_vessel,\n", diff --git a/docs/notebooks/in_spotlight.ipynb b/docs/notebooks/in_spotlight.ipynb index 2a3ee40..a19aa8a 100644 --- a/docs/notebooks/in_spotlight.ipynb +++ b/docs/notebooks/in_spotlight.ipynb @@ -70,7 +70,7 @@ "metadata": {}, "outputs": [], "source": [ - "plt.style.use(\"seaborn-colorblind\")" + "plt.style.use(\"seaborn-v0_8-colorblind\")" ] }, { diff --git a/docs/notebooks/input_distributions.ipynb b/docs/notebooks/input_distributions.ipynb index 6c7219e..b89e6ce 100644 --- a/docs/notebooks/input_distributions.ipynb +++ b/docs/notebooks/input_distributions.ipynb @@ -53,7 +53,7 @@ "metadata": {}, "outputs": [], "source": [ - "plt.style.use(\"seaborn-colorblind\")" + "plt.style.use(\"seaborn-v0_8-colorblind\")" ] }, {