Skip to content

Commit

Permalink
remove use of specific font as it is not available in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorht committed May 24, 2024
1 parent d7b71a7 commit 10bae6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion article/notebooks/article_figures.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 10bae6e

Please sign in to comment.