Skip to content

Commit

Permalink
fix matplotlib under layout_uv
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Zagatti committed Jan 2, 2025
1 parent 8441ef3 commit 6d748ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions direnv/direnvrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ layout_uv() {
source "$VIRTUAL_ENV/bin/activate"
PATH_add "$VIRTUAL_ENV/bin"
export UV_ACTIVE=1
# see https://github.com/astral-sh/uv/issues/6893
# see https://github.com/astral-sh/uv/issues/7036
export MPLBACKEND=Agg
else
echo -e "\e[38:5:1mUV virtual environment not available.\e[0m"
fi
Expand Down

0 comments on commit 6d748ee

Please sign in to comment.