bug#70687: python-matplotlib not respecting env var MPLBACKEND=TkAgg

2025-04-05 Thread Liliana Marie Prikler
Hi Jake, Am Donnerstag, dem 03.04.2025 um 11:36 + schrieb Jake: > It appears that importing matplotlib.pyplot resets the Matplotlib > backend to Agg. > >   $ guix shell python python-matplotlib -- bash -c 'MPLBACKEND=tkagg > python3 -c "import matplotlib; print(matplotlib.get_backend()); > im

bug#70687: python-matplotlib not respecting env var MPLBACKEND=TkAgg

2025-04-03 Thread Jake
It appears that importing matplotlib.pyplot resets the Matplotlib backend to Agg. $ guix shell python python-matplotlib -- bash -c 'MPLBACKEND=tkagg python3 -c "import matplotlib; print(matplotlib.get_backend()); import matplotlib.pyplot; print(matplotlib.get_backend())"' TkAgg agg On Wed

bug#70687: python-matplotlib not respecting env var MPLBACKEND=TkAgg

2024-04-30 Thread Jake
Hello We are supposed to be able to control the backend used by Python's Matplotlib via the MPLBACKEND environment variable [1]. This doesn't appear to work for the TkAgg backend: #+begin_src sh guix shell python python-matplotlib -- bash -c 'MPLBACKEND=TkAgg python3 -c "import matplotlib; pri