python312Packages.hvplot: fix checks on darwin

fix checkphase on darwin to not access the display
This commit is contained in:
Reno Dakota
2024-12-01 14:14:44 -08:00
parent 2c27ab2e60
commit 9e5774c4e3
@@ -69,6 +69,12 @@ buildPythonPackage rec {
"hvplot/tests/testutil.py"
];
# need to set MPLBACKEND=agg for headless matplotlib for darwin
# https://github.com/matplotlib/matplotlib/issues/26292
preCheck = ''
export MPLBACKEND=agg
'';
pythonImportsCheck = [ "hvplot.pandas" ];
meta = {