buchhave/exoplanet_target_plotter
0
Exoplanet Target Plotter
This project is a Dash/Plotly app for filtering and visualizing exoplanet catalogs (TOI, NExScI, NASA Exoplanet Archive, JWST targets).
System dependencies for Plotly image export
Plotly static image export (used for PDF downloads) relies on the Kaleido engine, which in turn requires several Chromium libraries on Linux. On Debian/Ubuntu/WSL2, install these packages:
sudo apt update && sudo apt install -y \
libnss3 \
libatk-bridge2.0-0t64 \
libcups2t64 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libpango-1.0-0 \
libcairo2 \
libasound2t64Python dependencies include plotly and kaleido (see requirements.txt).
Troubleshooting: Fontconfig cache errors
If you see repeated messages like:
Fontconfig error: No writable cache directoriesEnsure fontconfig and common fonts are installed, and that the cache dir is writable:
sudo apt update && sudo apt install -y fontconfig fonts-dejavu-core fonts-liberation fonts-noto-core
# Create a per-user writable cache directory (recommended on WSL/containers)
export XDG_CACHE_HOME=~/.cache
mkdir -p "$XDG_CACHE_HOME/fontconfig"
# Optionally rebuild font cache
fc-cache -fIn the Docker image, these are preinstalled and the cache directory is set to /tmp/.cache/fontconfig.
