markusro 1bed381639 add toolbar buttons copying the plot as PNG and SVG to the clipboard
Two new buttons below the plot copy the current figure to the
clipboard. The PNG copy renders off-screen on a temporary Agg canvas
at a fixed 12:8 inches and 800 px width, independent of the window
size, and restores figure canvas, size and dpi afterwards so the
on-screen plot is untouched. The RGBA buffer is wrapped in GLib.Bytes
for GdkPixbuf.Pixbuf.new_from_bytes, which current PyGObject requires
(fixes the 'Expected GLib.Bytes, but got bytes' error). The SVG copy
keeps using savefig into a text buffer; both report through logger.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-10-19 23:16:34 +02:00
2026-10-16 22:36:08 +02:00
2026-07-13 17:02:25 +02:00
2026-10-02 11:26:23 +02:00

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
S
Description
No description provided
Readme GPL-2.0
9.5 MiB
0 Stars 3 Watchers 0 Forks
v0.32
Latest
2026-10-22 15:03:48 +00:00
Languages
Python 98.8%
C++ 0.6%
Shell 0.6%