Public Access
34eb7b2728becda27f97d29bc9f8166c93eedb4f
The stock GTK3Agg canvas renders one buffer pixel per physical pixel, so on a scaled (HiDPI) screen every full redraw rasterizes four times the pixel count, which makes the interactive plot sluggish. Override _update_device_pixel_ratio in BlitSafeCanvas to pin the device pixel ratio at 1: the plot renders at logical resolution and the window system scales the output up. Measured ~2.3x faster full redraws on a 2x-scaled screen; non-scaled screens are unaffected. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Installing into private directory
=================================
1. Create a venv and include the system-site packages:
`python3 -m venv venv --system-site-packages`
2. Active that venv: `. venv/bin/activate`
3. Install an editable package: `pip install --no-deps -e .`
This will use the system packages already installed.
Alternatively you can install withoout the system-site-packages:
python3 -m venv venv
. venv/bin/activate
pip install -e .
This will download newer packages and install them in the venv.
Using uv
========
Dependicies needed:
sudo apt install libgirepository1.0-dev pkg-config
Then you can start DAMARIS3:
uv run DAMARIS3