From 10bae6eda74b4c9e08323689ba7c8a5cf767f9c2 Mon Sep 17 00:00:00 2001 From: viktorht Date: Fri, 24 May 2024 10:45:53 +0200 Subject: [PATCH] remove use of specific font as it is not available in docker image --- Dockerfile | 8 +------- article/notebooks/article_figures.ipynb | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3506391..fb47005 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,6 @@ RUN pip install --no-cache-dir -e ".[error_propagation]" && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" -RUN julia --project=article/julia-env -e 'import Pkg; Pkg.update()' && \ - # I don;t know if the line below is required \ - julia -e 'import Pkg; Pkg.add("HDF5")' && \ - julia --project=julia-env -e 'using Pkg; pkg"activate"; pkg"precompile"' && \ - # move kernelspec out of home \ - #mv "${HOME}/.local/share/jupyter/kernels/julia"* "${CONDA_DIR}/share/jupyter/kernels/" && \ +RUN julia --project=julia-env -e 'using Pkg; pkg"activate"; pkg"precompile"' && \ chmod -R go+rx "${CONDA_DIR}/share/jupyter" && \ - #rm -rf "${HOME}/.local" && \ fix-permissions "${JULIA_PKGDIR}" "${CONDA_DIR}/share/jupyter" diff --git a/article/notebooks/article_figures.ipynb b/article/notebooks/article_figures.ipynb index 2ac0c36..3308b82 100644 --- a/article/notebooks/article_figures.ipynb +++ b/article/notebooks/article_figures.ipynb @@ -270,7 +270,7 @@ " 0.01,\n", " 1.05,\n", " \"A\",\n", - " fontdict={\"fontsize\": 14, \"font\": \"Times New Roman\"},\n", + " fontdict={\"fontsize\": 14},\n", " horizontalalignment=\"left\",\n", " verticalalignment=\"bottom\",\n", " transform=AX.transAxes,\n",