CoolFace
Apppublic

buchhave/exoplanet_target_plotter

sourceHugging Faceupdated 6d agoView on Hugging Face
0likes
App README

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:

bash
sudo apt update && sudo apt install -y \
    libnss3 \
    libatk-bridge2.0-0t64 \
    libcups2t64 \
    libxcomposite1 \
    libxdamage1 \
    libxfixes3 \
    libxrandr2 \
    libgbm1 \
    libxkbcommon0 \
    libpango-1.0-0 \
    libcairo2 \
    libasound2t64

Python dependencies include plotly and kaleido (see requirements.txt).

Troubleshooting: Fontconfig cache errors

If you see repeated messages like:

Fontconfig error: No writable cache directories

Ensure fontconfig and common fonts are installed, and that the cache dir is writable:

bash
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 -f

In the Docker image, these are preinstalled and the cache directory is set to /tmp/.cache/fontconfig.