figscribe 0.3.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {figscribe-0.3.0 → figscribe-0.4.0}/.github/workflows/tests.yml +47 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/CHANGELOG.md +203 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/PKG-INFO +34 -11
- {figscribe-0.3.0 → figscribe-0.4.0}/README.md +31 -10
- {figscribe-0.3.0 → figscribe-0.4.0}/docs/decisions.md +964 -4
- figscribe-0.4.0/docs/figscribe0.3.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/docs/testing.md +94 -6
- figscribe-0.4.0/examples/clock-stability/thumbnail.png +0 -0
- figscribe-0.4.0/examples/fixed-points/pt25.csv +15 -0
- figscribe-0.4.0/examples/fixed-points/thermometer.figscribe +308 -0
- figscribe-0.4.0/examples/fixed-points/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/index.json +18 -0
- figscribe-0.4.0/examples/ir-spectrum/spectrum.csv +904 -0
- figscribe-0.4.0/examples/ir-spectrum/spectrum.figscribe +186 -0
- figscribe-0.4.0/examples/ir-spectrum/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/make.py +306 -0
- figscribe-0.4.0/examples/pendulum/pendulum.figscribe +243 -0
- figscribe-0.4.0/examples/pendulum/pendulum.ods +0 -0
- figscribe-0.4.0/examples/pendulum/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/figscribe.spec +33 -1
- figscribe-0.4.0/packaging/launcher.py +60 -0
- figscribe-0.4.0/packaging/licenses/spdx/Apache-2.0.txt +73 -0
- figscribe-0.4.0/packaging/licenses/spdx/BSD-2-Clause.txt +9 -0
- figscribe-0.4.0/packaging/licenses/spdx/BSD-3-Clause.txt +11 -0
- figscribe-0.4.0/packaging/licenses/spdx/LLVM-exception.txt +15 -0
- figscribe-0.4.0/packaging/licenses/spdx/MIT-open-group.txt +23 -0
- figscribe-0.4.0/packaging/licenses/spdx/MIT.txt +18 -0
- figscribe-0.4.0/packaging/licenses/spdx/Unicode-3.0.txt +39 -0
- figscribe-0.4.0/packaging/licenses/spdx/Unicode-DFS-2016.txt +22 -0
- figscribe-0.4.0/packaging/licenses/spdx/Zlib.txt +11 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/make_installer.py +3 -1
- figscribe-0.4.0/packaging/notices.py +655 -0
- figscribe-0.4.0/packaging/smoke.py +346 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/plan/roadmap.md +305 -82
- {figscribe-0.3.0 → figscribe-0.4.0}/pyproject.toml +2 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/__init__.py +1 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/allan.py +8 -2
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/assistant/bench.py +7 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/assistant/chat.py +25 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/cli.py +17 -0
- figscribe-0.4.0/src/figscribe/codegen/script.py +3727 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/commands/__init__.py +2 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/commands/core.py +4 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/commands/history.py +19 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/commands/ops.py +25 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/convert.py +65 -5
- figscribe-0.4.0/src/figscribe/datafile.py +357 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/fit/__init__.py +6 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/fit/expression.py +17 -9
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/fit/ops.py +96 -6
- figscribe-0.4.0/src/figscribe/function.py +216 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/about.py +1 -2
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/app.py +31 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/axisform.py +305 -13
- figscribe-0.4.0/src/figscribe/gui/breaks.py +87 -0
- figscribe-0.4.0/src/figscribe/gui/columndialog.py +115 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/databar.py +4 -2
- figscribe-0.4.0/src/figscribe/gui/dates.py +71 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/document.py +4 -2
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/effect.py +83 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fitdialog.py +136 -13
- figscribe-0.4.0/src/figscribe/gui/hdf5dialog.py +174 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/importdialog.py +267 -131
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/mainwindow.py +245 -15
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/markings.py +17 -5
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/names.py +49 -5
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/outline.py +59 -13
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/palette.py +9 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/preview.py +69 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/properties.py +473 -32
- figscribe-0.4.0/src/figscribe/gui/sheetdialog.py +236 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/start.py +4 -2
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/theme.py +12 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/io/__init__.py +4 -0
- figscribe-0.4.0/src/figscribe/io/csvfile.py +265 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/io/errors.py +5 -0
- figscribe-0.4.0/src/figscribe/io/hdf5file.py +590 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/io/numpyfile.py +12 -3
- figscribe-0.4.0/src/figscribe/io/provider.py +160 -0
- figscribe-0.4.0/src/figscribe/io/refresh.py +296 -0
- figscribe-0.4.0/src/figscribe/io/sheetfile.py +293 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/__init__.py +14 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/artists.py +194 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/axes.py +44 -0
- figscribe-0.4.0/src/figscribe/model/breaks.py +65 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/data.py +61 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/figure.py +8 -0
- figscribe-0.4.0/src/figscribe/model/sharing.py +94 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/styles.py +4 -0
- figscribe-0.4.0/src/figscribe/model/timeaxes.py +304 -0
- figscribe-0.4.0/src/figscribe/model/validate.py +1243 -0
- figscribe-0.4.0/src/figscribe/process.py +186 -0
- figscribe-0.4.0/src/figscribe/refits.py +260 -0
- figscribe-0.4.0/src/figscribe/render/breaks.py +328 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/render/figure.py +643 -72
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/render/layout.py +9 -20
- figscribe-0.4.0/src/figscribe/render/peaks.py +36 -0
- figscribe-0.4.0/src/figscribe/render/ticks.py +449 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/suggest.py +17 -2
- figscribe-0.4.0/src/figscribe/times.py +81 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/tools/operations.py +99 -14
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/tools/spec.py +21 -3
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/tools/workspace.py +34 -9
- figscribe-0.4.0/src/figscribe/units.py +667 -0
- figscribe-0.4.0/src/figscribe/updates.py +146 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/assistant/test_chat.py +22 -8
- figscribe-0.4.0/tests/codegen/test_dates_equivalence.py +546 -0
- figscribe-0.4.0/tests/codegen/test_equivalence.py +3127 -0
- figscribe-0.4.0/tests/codegen/test_process_equivalence.py +433 -0
- figscribe-0.4.0/tests/codegen/test_random_projects.py +51 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/codegen/test_script.py +28 -0
- figscribe-0.4.0/tests/commands/test_refused_changes.py +41 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/test_undo_stress.py +39 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/conftest.py +28 -0
- figscribe-0.4.0/tests/dataio/chartfirst.xlsx +0 -0
- figscribe-0.4.0/tests/dataio/old.xls +0 -0
- figscribe-0.4.0/tests/dataio/test_hdf5.py +575 -0
- figscribe-0.4.0/tests/dataio/test_sheets.py +344 -0
- figscribe-0.4.0/tests/dataio/test_times.py +292 -0
- figscribe-0.4.0/tests/fit/test_bit_for_bit.py +51 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/everything.py +55 -2
- figscribe-0.4.0/tests/gui/legible.py +30 -0
- figscribe-0.4.0/tests/gui/test_another_file.py +286 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_axis_form.py +96 -1
- figscribe-0.4.0/tests/gui/test_breaks_gui.py +336 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_databar.py +32 -0
- figscribe-0.4.0/tests/gui/test_dates.py +363 -0
- figscribe-0.4.0/tests/gui/test_dialog_contrast.py +84 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_element_sections.py +18 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_every_action.py +4 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_every_field.py +22 -1
- figscribe-0.4.0/tests/gui/test_file_open.py +54 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_find.py +20 -2
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_find_words.py +1 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_fit.py +181 -2
- figscribe-0.4.0/tests/gui/test_function.py +88 -0
- figscribe-0.4.0/tests/gui/test_hdf5.py +290 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_import.py +3 -1
- figscribe-0.4.0/tests/gui/test_keyboard.py +109 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_look.py +2 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_markings.py +9 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_panels.py +7 -1
- figscribe-0.4.0/tests/gui/test_process_panel.py +193 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_properties.py +13 -1
- figscribe-0.4.0/tests/gui/test_sheets.py +207 -0
- figscribe-0.4.0/tests/gui/test_small_screens.py +187 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_start.py +9 -1
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_ticks.py +14 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_toolbar.py +1 -0
- figscribe-0.4.0/tests/gui/test_update_check.py +115 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_without_effect.py +132 -0
- figscribe-0.4.0/tests/hdf5files.py +39 -0
- figscribe-0.4.0/tests/random_projects.py +357 -0
- figscribe-0.4.0/tests/render/baseline/broken_axes.png +0 -0
- figscribe-0.4.0/tests/render/baseline/curve_beyond.png +0 -0
- figscribe-0.4.0/tests/render/baseline/functions.png +0 -0
- figscribe-0.4.0/tests/render/baseline/minor_grid.png +0 -0
- figscribe-0.4.0/tests/render/baseline/number_formats.png +0 -0
- figscribe-0.4.0/tests/render/baseline/open_frame.png +0 -0
- figscribe-0.4.0/tests/render/baseline/reversed_axis.png +0 -0
- figscribe-0.4.0/tests/render/test_breaks.py +339 -0
- figscribe-0.4.0/tests/render/test_dates.py +140 -0
- figscribe-0.4.0/tests/render/test_fit_render.py +305 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_images.py +181 -0
- figscribe-0.4.0/tests/render/test_inverted.py +74 -0
- figscribe-0.4.0/tests/render/test_open_frame.py +79 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_render.py +79 -0
- figscribe-0.4.0/tests/render/test_tick_numbers.py +229 -0
- figscribe-0.4.0/tests/sheetfiles.py +131 -0
- figscribe-0.4.0/tests/test_another_file.py +367 -0
- figscribe-0.4.0/tests/test_breaks_model.py +162 -0
- figscribe-0.4.0/tests/test_curve_ends.py +139 -0
- figscribe-0.4.0/tests/test_dates_problems.py +294 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_examples.py +11 -4
- figscribe-0.4.0/tests/test_function_plot.py +265 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_model_roundtrip.py +47 -0
- figscribe-0.4.0/tests/test_packaging_installer.py +48 -0
- figscribe-0.4.0/tests/test_packaging_launcher.py +80 -0
- figscribe-0.4.0/tests/test_packaging_notices.py +541 -0
- figscribe-0.4.0/tests/test_process.py +506 -0
- figscribe-0.4.0/tests/test_refits.py +491 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_styles.py +4 -0
- figscribe-0.4.0/tests/test_unconverged.py +322 -0
- figscribe-0.4.0/tests/test_units.py +679 -0
- figscribe-0.4.0/tests/test_updates.py +160 -0
- figscribe-0.4.0/tests/test_validate_changed_files.py +66 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_validate_references.py +8 -0
- figscribe-0.4.0/tests/timedata.py +34 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/tools/test_tools.py +143 -0
- figscribe-0.3.0/examples/clock-stability/thumbnail.png +0 -0
- figscribe-0.3.0/packaging/launcher.py +0 -14
- figscribe-0.3.0/packaging/notices.py +0 -221
- figscribe-0.3.0/packaging/smoke.py +0 -125
- figscribe-0.3.0/src/figscribe/codegen/script.py +0 -1957
- figscribe-0.3.0/src/figscribe/io/csvfile.py +0 -133
- figscribe-0.3.0/src/figscribe/io/provider.py +0 -95
- figscribe-0.3.0/src/figscribe/io/refresh.py +0 -166
- figscribe-0.3.0/src/figscribe/model/validate.py +0 -670
- figscribe-0.3.0/src/figscribe/render/ticks.py +0 -164
- figscribe-0.3.0/src/figscribe/units.py +0 -251
- figscribe-0.3.0/tests/codegen/test_equivalence.py +0 -1510
- figscribe-0.3.0/tests/render/test_fit_render.py +0 -141
- figscribe-0.3.0/tests/test_packaging_notices.py +0 -215
- figscribe-0.3.0/tests/test_units.py +0 -306
- {figscribe-0.3.0 → figscribe-0.4.0}/.gitattributes +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/.github/workflows/installers.yml +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/.github/workflows/release.yml +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/.gitignore +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/CLAUDE.md +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/LICENSE +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/beam-profile/beam.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/beam-profile/beam.npz +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/beam-profile/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/calibration/standards.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/calibration/standards.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/calibration/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/clock-stability/oscillators.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/clock-stability/oscillators.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/diode-iv/diode.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/diode-iv/diode.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/diode-iv/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/distribution/samples.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/distribution/samples.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/distribution/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/freezing-plateau/furnace.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/freezing-plateau/furnace.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/freezing-plateau/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/gaussian-scan/scan.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/gaussian-scan/scan.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/gaussian-scan/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/growth-curve/growth.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/growth-curve/growth.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/growth-curve/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/noisy-sensor/sensor.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/noisy-sensor/sensor.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/noisy-sensor/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/paper-figure/noise.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/paper-figure/paper.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/paper-figure/results.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/paper-figure/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/rc-discharge/discharge.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/rc-discharge/discharge.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/rc-discharge/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/resonance/resonator.csv +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/resonance/resonator.figscribe +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/examples/resonance/thumbnail.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/figscribe.iss +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/icons/figscribe.icns +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/icons/figscribe.ico +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/icons/figscribe.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/licenses/GPL-3.0.txt +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/licenses/LGPL-3.0.txt +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/make_icons.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/packaging/requirements-build.txt +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/plan/project-brief.md +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/__main__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/assistant/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/assistant/endpoint.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/assistant/mcpserver.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/assistant/toolserver.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/codegen/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/examples.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/fit/models.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/fit/run.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/assistantdialog.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/chatpanel.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/clipboard.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/codepanel.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/errors.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/figures.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fonts/IBMPlexMono-Medium.ttf +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fonts/IBMPlexMono-Regular.ttf +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fonts/IBMPlexSans-Medium.ttf +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fonts/IBMPlexSans-Regular.ttf +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fonts/IBMPlexSans-SemiBold.ttf +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/fonts/OFL.txt +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/icons/check.svg +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/icons/chevron-down.svg +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/icons/figscribe-small.svg +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/icons/figscribe.svg +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/inplace.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/markers.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/numbers.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/path.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/plotdialog.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/problems.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/recovery.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/resize.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/reveal.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/gui/widgets.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/io/files.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/base.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/model/project.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/reduce.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/render/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/render/export.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/render/labels.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/templates.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/src/figscribe/tools/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/assistant/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/assistant/fakeserver.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/assistant/test_bench.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/assistant/test_mcp.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/codegen/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/test_commands.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/test_everyday.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/test_figures.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/test_ops.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/commands/test_panels.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/dataio/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/dataio/test_csv.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/dataio/test_numpy.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/dataio/test_refresh.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/dataio/test_write_atomically.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/fit/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/fit/test_allan_fit.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/fit/test_expression.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/fit/test_refit.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/fit/test_run.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_about.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_allan_fit.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_axis_search.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_axis_zoom.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_code_panel.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_document.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_errors.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_everyday.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_export_memory.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_figures.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_images.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_inplace.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_interaction.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_left_out.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_mainwindow.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_navigation.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_note_arrow.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_notes.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_numbers.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_plot_dialog.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_plot_menu.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_preview.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_reading_options.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_recovery.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_resize.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_reveal.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_right_axis.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_several.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_units_panel.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/gui/test_unwell_files.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/__init__.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/converted.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/error_band.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/errorbar.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/line.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/note_background.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/panel_labels.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/reduced.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/reference_lines.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/residuals.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/scatter.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/baseline/two_panels.png +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/conftest.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_align.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_conversion.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_export.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_labels.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/render/test_reduction.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_allan.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_convert.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_edge_data.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_field_coverage.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_left_out.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_packaging_icons.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_reduce.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/test_suggest.py +0 -0
- {figscribe-0.3.0 → figscribe-0.4.0}/tests/tools/__init__.py +0 -0
|
@@ -69,11 +69,55 @@ jobs:
|
|
|
69
69
|
- name: Install
|
|
70
70
|
if: steps.changes.outputs.docs_only != 'true'
|
|
71
71
|
run: python -m pip install -e ".[dev]"
|
|
72
|
-
# The slow tests operate every field and action of the GUI; once is
|
|
73
|
-
# enough, on one platform (decision 0028).
|
|
74
72
|
- name: Run tests
|
|
75
73
|
if: steps.changes.outputs.docs_only != 'true'
|
|
76
|
-
run: python -m pytest -q -n auto --dist worksteal
|
|
74
|
+
run: python -m pytest -q -n auto --dist worksteal -m "not slow"
|
|
75
|
+
|
|
76
|
+
# The slow tests operate every field and action of the GUI; once is enough,
|
|
77
|
+
# on one platform (decision 0028), in two parts of about the same length so
|
|
78
|
+
# that no job takes twice as long as the others (decision 0070). "others" is
|
|
79
|
+
# every slow test not named by a part, so a new one runs without being listed.
|
|
80
|
+
slow:
|
|
81
|
+
name: slow (${{ matrix.part }})
|
|
82
|
+
runs-on: ubuntu-latest
|
|
83
|
+
env:
|
|
84
|
+
QT_QPA_PLATFORM: offscreen
|
|
85
|
+
strategy:
|
|
86
|
+
fail-fast: false
|
|
87
|
+
matrix:
|
|
88
|
+
include:
|
|
89
|
+
- part: actions
|
|
90
|
+
tests: tests/gui/test_every_action.py
|
|
91
|
+
- part: others
|
|
92
|
+
tests: --ignore=tests/gui/test_every_action.py
|
|
93
|
+
steps:
|
|
94
|
+
- uses: actions/checkout@v5
|
|
95
|
+
with:
|
|
96
|
+
fetch-depth: 0
|
|
97
|
+
- name: Look at what changed
|
|
98
|
+
id: changes
|
|
99
|
+
run: |
|
|
100
|
+
other=""
|
|
101
|
+
if [ "${{ github.event_name }}" = "pull_request" ]; then
|
|
102
|
+
other="$(git diff --name-only "${{ github.event.pull_request.base.sha }}" HEAD \
|
|
103
|
+
| grep -vE '^(plan/|docs/|.*\.md$)' || true)"
|
|
104
|
+
if [ -z "$other" ]; then echo "docs_only=true" >> "$GITHUB_OUTPUT"; fi
|
|
105
|
+
fi
|
|
106
|
+
- uses: actions/setup-python@v6
|
|
107
|
+
if: steps.changes.outputs.docs_only != 'true'
|
|
108
|
+
with:
|
|
109
|
+
python-version: "3.13"
|
|
110
|
+
cache: pip
|
|
111
|
+
cache-dependency-path: pyproject.toml
|
|
112
|
+
- name: Install Qt's system libraries
|
|
113
|
+
if: steps.changes.outputs.docs_only != 'true'
|
|
114
|
+
run: sudo apt-get update && sudo apt-get install -y libegl1 libxkbcommon0 libfontconfig1 libdbus-1-3
|
|
115
|
+
- name: Install
|
|
116
|
+
if: steps.changes.outputs.docs_only != 'true'
|
|
117
|
+
run: python -m pip install -e ".[dev]"
|
|
118
|
+
- name: Run tests
|
|
119
|
+
if: steps.changes.outputs.docs_only != 'true'
|
|
120
|
+
run: python -m pytest -q -n auto --dist worksteal -m slow ${{ matrix.tests }}
|
|
77
121
|
|
|
78
122
|
# The oldest versions pyproject.toml allows (Matplotlib, NumPy, SciPy,
|
|
79
123
|
# pydantic, PySide6), since a floor nobody installs is only a guess. Left
|
|
@@ -3,6 +3,209 @@
|
|
|
3
3
|
What changed in each release of figscribe. Project files written by a
|
|
4
4
|
release open in every later one.
|
|
5
5
|
|
|
6
|
+
## 0.4.0 — 2026-11-30
|
|
7
|
+
|
|
8
|
+
**Before you update**
|
|
9
|
+
|
|
10
|
+
- A project saved with 0.3.0 after the data of a fit changed (a new version of
|
|
11
|
+
the file, another column, a changed range) may still hold the old curve. Select
|
|
12
|
+
the fit and choose *Fit again with the current data*.
|
|
13
|
+
- A fit that did not converge is no longer drawn from its start values; it is
|
|
14
|
+
listed among the problems. Change its start values and fit again.
|
|
15
|
+
- A project over a NumPy file with dates (`datetime64`), which 0.3.0 plotted as
|
|
16
|
+
large integers, does not draw its figure until the file is read again:
|
|
17
|
+
right-click the data file, *Use another file…* and choose the same file.
|
|
18
|
+
- Some figures look different: where the grid is shown at both kinds of ticks,
|
|
19
|
+
the minor lines are now thinner, and a log axis spanning about a decade with
|
|
20
|
+
an SI prefix can show more numbers.
|
|
21
|
+
|
|
22
|
+
**In short:** spreadsheets (Excel, LibreOffice Calc) and HDF5 files, date and
|
|
23
|
+
time axes, baseline, smoothing, normalising and peaks, functions drawn without
|
|
24
|
+
data, fits drawn beyond the data, broken axes, number formats and the decimal
|
|
25
|
+
comma, *Use another file…*, a much faster start of the installed program, and many
|
|
26
|
+
fixes.
|
|
27
|
+
|
|
28
|
+
### New and changed
|
|
29
|
+
|
|
30
|
+
- **Baseline and peaks.** A constant, straight line or polynomial fitted in
|
|
31
|
+
the x ranges you give (stretches without peaks) is subtracted before smoothing
|
|
32
|
+
and normalising; peaks (or dips) of the values shown are marked with their x
|
|
33
|
+
or with triangles, found by `scipy.signal.find_peaks` with a prominence and a
|
|
34
|
+
distance in points. The Python script does both with the same calls
|
|
35
|
+
(decision 0083).
|
|
36
|
+
- **Smoothing and normalising** a line, points or error bar plot: Savitzky–Golay
|
|
37
|
+
or a moving average over a window of points, and division by the maximum or
|
|
38
|
+
by the area under the points. Fits use the computed values; the Python script
|
|
39
|
+
computes them with the same SciPy and NumPy calls; the data file stays as it
|
|
40
|
+
is (decision 0083).
|
|
41
|
+
- **Date and time axes.** Columns of ISO dates in text files, date cells of
|
|
42
|
+
spreadsheets, `datetime64` in NumPy files and `datetime64` or ISO text in HDF5
|
|
43
|
+
files give a date axis, with numbers only (`2026-11-01`, `12:30`). Limits,
|
|
44
|
+
ticks, a plot's range, reference lines and notes are typed as dates; *x in*
|
|
45
|
+
shows the time since the start in s, min, h or days instead, which fits and
|
|
46
|
+
the other tools need. A time zone is read as written, not converted. The
|
|
47
|
+
Python script reads and plots the same dates (decision 0082).
|
|
48
|
+
- The problem list names a typed axis range that shows none of the data, as one
|
|
49
|
+
left from another version of a file, or one reaching zero or below on a log
|
|
50
|
+
axis, and a mark left years from the data on a date axis; a new version that
|
|
51
|
+
turns numbers into dates or back says so.
|
|
52
|
+
- The installers' license notices name the Rust libraries compiled into their
|
|
53
|
+
packages, with the licenses' texts (decision 0080).
|
|
54
|
+
- **HDF5 files** (`.h5`, `.hdf5`, `.he5`, `.nxs`). The import shows the tree of
|
|
55
|
+
the file: take a group, whose one-dimensional datasets are the columns, a
|
|
56
|
+
table of records, or a single dataset; two dimensions become an image. Units
|
|
57
|
+
come from the attributes. External links, virtual datasets and external
|
|
58
|
+
storage are refused, since the file's fingerprint does not cover their
|
|
59
|
+
values. The Python script reads the same datasets and needs `h5py`, a new
|
|
60
|
+
dependency (decision 0081).
|
|
61
|
+
- **Excel and LibreOffice Calc files.** `.xlsx`, `.xls` and `.ods` are read as
|
|
62
|
+
they are: pick the sheet, the row of names and rows to skip. Computed columns
|
|
63
|
+
come with the results saved in the file; empty cells are gaps; columns of
|
|
64
|
+
notes or dates do no harm unless plotted. The Python script reads the same
|
|
65
|
+
file and needs `python-calamine`, a new dependency (decision 0079). A new
|
|
66
|
+
example shows it: a pendulum with times, computed columns and *g*.
|
|
67
|
+
- **Draw a function.** *Insert > Add Reference > Function…*: a formula such as
|
|
68
|
+
`a * exp(-x / tau)` as a theory curve or a guide, with a field in the panel
|
|
69
|
+
for each name. It moves no axis limits beside data (decision 0078).
|
|
70
|
+
- **Use another file.** Draw a figure, such as an example, with your own data:
|
|
71
|
+
right-click the data file in *Contents* and *Use another file…*. The file is
|
|
72
|
+
read like the old one; where its columns have other names, you choose which
|
|
73
|
+
takes the place of which. The fits are run again and left-out rows are taken
|
|
74
|
+
back in (decision 0075).
|
|
75
|
+
- **A fit beyond the data.** To extrapolate, type *Draw curve from … to …* in
|
|
76
|
+
the fit dialog or *Curve from, to* in the panel, or tick *To the axis limits*
|
|
77
|
+
where the x range is typed. Beyond the data the curve is dashed, as no
|
|
78
|
+
points back it there. *Mark the part beyond the data* switches that off, and
|
|
79
|
+
line style, color and width of that part can be set (decision 0074).
|
|
80
|
+
- **Minor grid lines of their own.** Where the grid is shown at both kinds of
|
|
81
|
+
ticks, the minor lines are now half as thick as the major ones, so such
|
|
82
|
+
figures look different from before. The panel's *Grid* section has *Minor
|
|
83
|
+
grid color*, *width* and *style* (decision 0073).
|
|
84
|
+
- **Two more examples:** *Up to the zinc point*, a broken axis with a fit
|
|
85
|
+
across it, and *An infrared spectrum*, wavenumbers from high to low with an
|
|
86
|
+
open frame and a decimal comma (fifteen with the pendulum above).
|
|
87
|
+
- **Broken axes.** Cut a stretch out of an x or y axis, for a measurement far
|
|
88
|
+
from the rest: right-click the empty stretch in the preview (or the panel in
|
|
89
|
+
the outline), or use *Add a break* in the axis form under *Scale*; several
|
|
90
|
+
breaks are possible. The axis gets a narrow gap with break marks, nothing is drawn in it, and no line runs
|
|
91
|
+
across. Panels sharing the axis are broken alike. Linear axes only
|
|
92
|
+
(decision 0072).
|
|
93
|
+
- **Number format and decimal comma.** In the axis form, *Scale* has *Number
|
|
94
|
+
format*: automatic, fixed decimals, or scientific (2.5×10³ at every tick),
|
|
95
|
+
with *Decimals*. The figure's *Text* settings have *Decimal comma*, which
|
|
96
|
+
writes the numbers along every axis and color bar as 1,5; legends, notes, fit
|
|
97
|
+
results and typed tick labels stay as written. The point stays the default.
|
|
98
|
+
The script defines the few lines this takes (decision 0071).
|
|
99
|
+
- **Check for updates.** *Help > Check for Updates…* (and `figscribe
|
|
100
|
+
check-update`) asks GitHub for the latest release and says whether it is newer.
|
|
101
|
+
The installed program offers to open the release page; with `pip` it names the
|
|
102
|
+
upgrade command. Only when asked, and nothing is downloaded (decision 0069).
|
|
103
|
+
- **An open frame.** *Ticks and frame* in the figure's settings has *Open frame*:
|
|
104
|
+
only the left and bottom axis are drawn, without the frame and tick marks on
|
|
105
|
+
the top and right. A panel with a right y axis keeps that axis. *Ticks on all
|
|
106
|
+
sides* is greyed out meanwhile (decision 0068).
|
|
107
|
+
- **An axis can be drawn backwards.** In the axis form, *Scale* has *Direction*
|
|
108
|
+
with *Highest value first*, for wavenumbers and binding energies; it works with
|
|
109
|
+
an automatic range too. A range typed with the higher end first did this before
|
|
110
|
+
and the box shows it. The script writes `set_xlim(10, 0)` or
|
|
111
|
+
`ax.xaxis.set_inverted(True)` (decision 0067).
|
|
112
|
+
- **The fit dialog fits a small screen.** Its settings scroll when the window is
|
|
113
|
+
too small for them (a polynomial of high degree has many parameters), while the
|
|
114
|
+
model list and the buttons stay in view. On a large screen it looks as before.
|
|
115
|
+
- A disabled check box and a disabled number field with decimals are grey now, as
|
|
116
|
+
the other disabled fields were.
|
|
117
|
+
|
|
118
|
+
### Fixed
|
|
119
|
+
|
|
120
|
+
- Fixed (in 0.3.0 too): the installed program took several seconds longer at
|
|
121
|
+
every start, about nine on a Mac, because it listed the system's fonts again
|
|
122
|
+
each time. It now keeps that list; only the first start after installing or
|
|
123
|
+
updating makes it (decision 0085).
|
|
124
|
+
- Fixed (in 0.3.0 too): the AppImage carried the GNU readline library, which is
|
|
125
|
+
under the GPL and which figscribe does not use. It is left out, and the
|
|
126
|
+
AppImage's license notices now name the system libraries it takes from the
|
|
127
|
+
machine it is built on (decision 0084).
|
|
128
|
+
- Fixed: a NumPy file of `datetime64` was read as large integers.
|
|
129
|
+
- Fixed (in 0.3.0 too): preview and Python script differed for a formula with
|
|
130
|
+
powers in the last bit, which showed in poorly determined fits; for curves on
|
|
131
|
+
a linear panel sharing the x axis of a logarithmic one; for minor ticks off
|
|
132
|
+
on one of two panels sharing a broken axis; and, under `classic` and other
|
|
133
|
+
styles that round ranges, for panels that share an axis or hold only a
|
|
134
|
+
reference line. A fit saved before keeps its result; fit again where the two
|
|
135
|
+
differ.
|
|
136
|
+
- Fixed (in 0.3.0 too): typed ticks much closer together than the axis range
|
|
137
|
+
made Matplotlib place up to millions of minor ticks, and the window stopped
|
|
138
|
+
responding; they are left out and listed now.
|
|
139
|
+
- Fixed (in 0.3.0 too): the Python script of a reversed log axis whose typed
|
|
140
|
+
range reaches zero or below drew another range than the preview.
|
|
141
|
+
- Fixed (in 0.3.0 too): with minor ticks off on one of two panels that share an
|
|
142
|
+
axis, the Python script could draw them all the same.
|
|
143
|
+
- Fixed (in 0.3.0 too): with the style `classic`, a panel without data got
|
|
144
|
+
another range in the preview than in the Python script.
|
|
145
|
+
- Fixed (in 0.3.0 too): with the style `classic` the Python script saved the
|
|
146
|
+
figure at 100 dpi instead of the figure's, and with a style file of your own
|
|
147
|
+
at the resolution that file sets.
|
|
148
|
+
- Fixed (in 0.3.0 too): giving a shaded range the same two ends was refused but
|
|
149
|
+
kept all the same.
|
|
150
|
+
- Fixed (in 0.3.0 too): the assistant could write a fit's result itself, which
|
|
151
|
+
was then drawn as if figscribe had computed it; and its check for too many
|
|
152
|
+
ticks did not look at a new version of a data file.
|
|
153
|
+
- Fixed (in 0.3.0 too): the Python script of a figure whose data file's name
|
|
154
|
+
starts with a digit, such as `2026-11-27 run.csv`, or is a Python word, did
|
|
155
|
+
not run.
|
|
156
|
+
- Fixed (in 0.3.0 too): a fit that did not converge was drawn from its start
|
|
157
|
+
values while the Python script stopped with an error. It is now drawn by
|
|
158
|
+
neither and listed among the problems.
|
|
159
|
+
- Fixed (in 0.3.0 too): a unit change no longer restarts an own formula from
|
|
160
|
+
ones, which could "converge" to nonsense. It starts from the values it had,
|
|
161
|
+
and is left not fitted where that fails.
|
|
162
|
+
- Fixed (in 0.3.0 too): *Change the fit…* rounded start values and bounds to
|
|
163
|
+
six digits on *Update fit*.
|
|
164
|
+
- Fixed: when the assistant changed how a file is read and fitted or edited in
|
|
165
|
+
the same batch, the fit was run on the data as read before.
|
|
166
|
+
- **Fixed: a fit kept its old curve over new data**, in 0.3.0 too. The window
|
|
167
|
+
and its export drew the old fit while the Python script fitted again, after
|
|
168
|
+
any of these: *Use the new version* or *Locate file…* for a changed file,
|
|
169
|
+
another column, the y errors switched off, *Draw fewer points*, another way
|
|
170
|
+
of reading the file, or a fit's range, model or held values changed by the
|
|
171
|
+
assistant. The fit is now run again in the same step; one that cannot be is
|
|
172
|
+
left not fitted and listed among the problems. A project saved after one of
|
|
173
|
+
those changes still has the old curve: select the fit and *Fit again with the
|
|
174
|
+
current data* (decision 0076).
|
|
175
|
+
- Fixed: *Change the fit…* no longer rounds the fit range's ends to six digits
|
|
176
|
+
when you press *Update fit*.
|
|
177
|
+
- Fixed: in the fit dialog the chosen model was written in white on pale blue,
|
|
178
|
+
and a model with the keyboard focus in white on white. Their text is dark now.
|
|
179
|
+
- Fixed: changing a plot's units now reaches its fit's residuals and the
|
|
180
|
+
other panels sharing the axis that show no data of their own: their label's
|
|
181
|
+
unit, range, ticks and reference lines were left in the old unit. This
|
|
182
|
+
includes the residuals' y axis, and residuals that do not share x.
|
|
183
|
+
- Fixed: an axis shown with an SI prefix kept it when a change of units gave
|
|
184
|
+
the axis another unit, which could read "mmV". The prefix is dropped when the
|
|
185
|
+
unit's text changes, on all panels sharing the axis at once: while one of
|
|
186
|
+
them is still in the old unit, it stays.
|
|
187
|
+
- Fixed: with only the keyboard, Tab in the import dialog moved from cell to
|
|
188
|
+
cell of the preview table, a key press for each. It moves on to the next
|
|
189
|
+
control now.
|
|
190
|
+
- **Fixed: a double click on a project in Finder opens the project.** The macOS
|
|
191
|
+
app started but showed the start page, because macOS sends the file to a
|
|
192
|
+
running program as an event instead of an argument. The app also says now that
|
|
193
|
+
it opens `.figscribe` files, so Finder offers it for them (decision 0066).
|
|
194
|
+
- Fixed: the first release of the installers (0.3.0) carried a fourth file, the
|
|
195
|
+
tool that builds the AppImage, next to the three installers. It is removed from
|
|
196
|
+
that release and no longer kept where the workflow collects installers.
|
|
197
|
+
- Fixed: on an axis shown with an SI prefix and a tick step of its own, the tick
|
|
198
|
+
at zero could be written as -6.93889e-15. Negative numbers on such an axis
|
|
199
|
+
also have the minus sign Matplotlib uses now, not a hyphen.
|
|
200
|
+
- Fixed: where panels share an axis, typed tick labels of one panel could
|
|
201
|
+
vanish from the preview while the script kept them.
|
|
202
|
+
- Fixed: a log axis with its minor ticks switched off still had them in the
|
|
203
|
+
script.
|
|
204
|
+
- Fixed: a log axis with an SI prefix spanning less than a decade, 200 to 800,
|
|
205
|
+
could have no number at all. Such an axis, up to about a decade, now numbers
|
|
206
|
+
the minor ticks Matplotlib would number, unless major ticks are set; a project
|
|
207
|
+
with such an axis can show more numbers than before.
|
|
208
|
+
|
|
6
209
|
## 0.3.0 — 2026-11-05
|
|
7
210
|
|
|
8
211
|
- **Installers for macOS, Windows and Linux.** Each release carries a disk image
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: figscribe
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: A lean desktop GUI for scientific Matplotlib plots that exports clean, standalone Python code instead of a proprietary project file.
|
|
5
5
|
Project-URL: Homepage, https://github.com/f4ren/figscribe
|
|
6
6
|
Project-URL: Source, https://github.com/f4ren/figscribe
|
|
@@ -18,10 +18,12 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
20
|
Requires-Python: >=3.11
|
|
21
|
+
Requires-Dist: h5py>=3.15.0
|
|
21
22
|
Requires-Dist: matplotlib>=3.10
|
|
22
23
|
Requires-Dist: numpy>=2.0
|
|
23
24
|
Requires-Dist: pydantic>=2.9
|
|
24
25
|
Requires-Dist: pyside6>=6.7
|
|
26
|
+
Requires-Dist: python-calamine>=0.5.4
|
|
25
27
|
Requires-Dist: scipy>=1.13
|
|
26
28
|
Provides-Extra: chat
|
|
27
29
|
Requires-Dist: anthropic>=1.15; extra == 'chat'
|
|
@@ -56,6 +58,8 @@ hand-write every detail of a Matplotlib figure just to fine-tune it.
|
|
|
56
58
|
- **Your data stays yours**: an assistant sees file and column names, never
|
|
57
59
|
the values, and can run entirely on your own computer.
|
|
58
60
|
|
|
61
|
+

|
|
62
|
+
|
|
59
63
|
## Contents
|
|
60
64
|
|
|
61
65
|
- [Status](#status)
|
|
@@ -89,9 +93,11 @@ has an installer for each system, with the assistant and MCP parts included:
|
|
|
89
93
|
|
|
90
94
|
| System | File | Notes |
|
|
91
95
|
|---|---|---|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
96
|
+
| Linux (x86-64) | [figscribe-0.4.0-linux-x86_64.AppImage](https://github.com/f4ren/figscribe/releases/download/v0.4.0/figscribe-0.4.0-linux-x86_64.AppImage) | `chmod +x` it and run it. Needs `libxcb-cursor0` (Debian, Ubuntu) or `xcb-util-cursor` (Fedora), which most desktops have. |
|
|
97
|
+
| macOS (Apple silicon) | [figscribe-0.4.0-macos-arm64.dmg](https://github.com/f4ren/figscribe/releases/download/v0.4.0/figscribe-0.4.0-macos-arm64.dmg) | Open it and drag figscribe to Applications. Intel Macs: use pipx, below. |
|
|
98
|
+
| Windows 10/11 | [figscribe-0.4.0-windows-x64-setup.exe](https://github.com/f4ren/figscribe/releases/download/v0.4.0/figscribe-0.4.0-windows-x64-setup.exe) | Installs for you alone; no administrator needed. |
|
|
99
|
+
|
|
100
|
+
All releases: [github.com/f4ren/figscribe/releases](https://github.com/f4ren/figscribe/releases)
|
|
95
101
|
|
|
96
102
|
The installers are **not signed** yet, so the system asks you once:
|
|
97
103
|
|
|
@@ -140,15 +146,17 @@ To add an extra later, install again with `--force`. To update:
|
|
|
140
146
|
|
|
141
147
|
Start `figscribe`. The start page offers four ways in:
|
|
142
148
|
|
|
143
|
-
- **Open a data file** (CSV, `.npy`, `.npz`).
|
|
149
|
+
- **Open a data file** (CSV, Excel, LibreOffice Calc, HDF5, `.npy`, `.npz`).
|
|
150
|
+
The import dialog detects
|
|
144
151
|
delimiter, decimal comma, header and unit rows, shows a preview and suggests
|
|
145
|
-
a first plot, e.g. *U against t with error bars dU
|
|
152
|
+
a first plot, e.g. *U against t with error bars dU*; for HDF5 it shows the
|
|
153
|
+
file's groups and datasets to choose from.
|
|
146
154
|
- **Pick a layout**: single column (85 × 60 mm), double column
|
|
147
155
|
(175 × 70 mm), data with fit and residuals, two panels side by side, or a
|
|
148
156
|
16:9 slide.
|
|
149
157
|
- **Open an example** from the gallery: a Gaussian scan, a noisy sensor
|
|
150
158
|
with its means over the raw line, an RC discharge with fit and residuals,
|
|
151
|
-
a resonance, a
|
|
159
|
+
a resonance, a broken axis up to the zinc point and more, fifteen in all. Each is a copy in a
|
|
152
160
|
folder you choose, with its data, ready to change.
|
|
153
161
|
|
|
154
162
|
Then click anything in the figure or in the contents list to select it, and
|
|
@@ -163,6 +171,18 @@ script.
|
|
|
163
171
|
unit rows, and of the text encoding (UTF-8, or cp1252 and Latin-1 as older
|
|
164
172
|
Windows programs write them); NumPy `.npy` and `.npz` files (read without pickles, so a data
|
|
165
173
|
file cannot run code).
|
|
174
|
+
- Excel (`.xlsx`, `.xls`) and LibreOffice Calc (`.ods`) files as they are: one
|
|
175
|
+
sheet per data file, computed columns with the results saved in the file.
|
|
176
|
+
- HDF5 (`.h5`, `.hdf5`, `.he5`, `.nxs`) files: a group with its datasets as columns, a
|
|
177
|
+
table of records, or one dataset of one or two dimensions, with the units
|
|
178
|
+
from its attributes. Values kept in other files are not followed.
|
|
179
|
+
- A baseline fitted in given ranges and subtracted, values smoothed
|
|
180
|
+
(Savitzky–Golay or a moving average) and normalised to their maximum or area,
|
|
181
|
+
and peaks marked with their x; the script computes the same.
|
|
182
|
+
- Columns of dates and times (ISO text such as `2026-11-01 12:30`, date cells
|
|
183
|
+
of spreadsheets, `datetime64` in NumPy and HDF5 files) give a date axis;
|
|
184
|
+
*x in: h since the start* turns them into numbers. A time zone is read as
|
|
185
|
+
written, not converted.
|
|
166
186
|
- A data file is removed with the plots that draw from it, in one undo step;
|
|
167
187
|
figscribe asks first and names them.
|
|
168
188
|
- Each data file is recorded with its SHA-256. If it changes later,
|
|
@@ -246,6 +266,9 @@ script.
|
|
|
246
266
|
live, as you edit.
|
|
247
267
|
- *Help > About figscribe* names the versions of figscribe, Python,
|
|
248
268
|
Matplotlib and Qt, for a bug report.
|
|
269
|
+
- *Help > Check for Updates…* (or `figscribe check-update`) asks GitHub whether
|
|
270
|
+
there is a newer release, only when you ask. Nothing about you or your figures
|
|
271
|
+
is sent, and nothing is downloaded or installed by itself.
|
|
249
272
|
|
|
250
273
|
**Export**
|
|
251
274
|
- PDF, SVG, EPS, PNG and TIFF (LZW compressed, as journals ask) at the exact size,
|
|
@@ -257,8 +280,9 @@ script.
|
|
|
257
280
|
## The generated code
|
|
258
281
|
|
|
259
282
|
*File > Export Python Script…* (or `figscribe script PROJECT.figscribe -o
|
|
260
|
-
plot.py`) writes a script that needs only NumPy, Matplotlib
|
|
261
|
-
|
|
283
|
+
plot.py`) writes a script that needs only NumPy, Matplotlib, for fits and for
|
|
284
|
+
fewer points drawn SciPy, for spreadsheets python-calamine and for HDF5 files
|
|
285
|
+
h5py. It is written the way a person would write it:
|
|
262
286
|
no figscribe helpers, named variables, comments where they help. From the
|
|
263
287
|
example project's script (shortened):
|
|
264
288
|
|
|
@@ -421,8 +445,7 @@ Design decisions and their reasons are recorded in
|
|
|
421
445
|
|
|
422
446
|
## Scope
|
|
423
447
|
|
|
424
|
-
Planned beyond what exists:
|
|
425
|
-
number formats and inverted axes, a second x axis on top, more fit models and
|
|
448
|
+
Planned beyond what exists: several files as one series, a second x axis on top, more fit models and
|
|
426
449
|
a confidence band, step plots and bar charts, style templates for journals,
|
|
427
450
|
snapping and alignment guides, signed installers.
|
|
428
451
|
|
|
@@ -15,6 +15,8 @@ hand-write every detail of a Matplotlib figure just to fine-tune it.
|
|
|
15
15
|
- **Your data stays yours**: an assistant sees file and column names, never
|
|
16
16
|
the values, and can run entirely on your own computer.
|
|
17
17
|
|
|
18
|
+

|
|
19
|
+
|
|
18
20
|
## Contents
|
|
19
21
|
|
|
20
22
|
- [Status](#status)
|
|
@@ -48,9 +50,11 @@ has an installer for each system, with the assistant and MCP parts included:
|
|
|
48
50
|
|
|
49
51
|
| System | File | Notes |
|
|
50
52
|
|---|---|---|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
53
|
+
| Linux (x86-64) | [figscribe-0.4.0-linux-x86_64.AppImage](https://github.com/f4ren/figscribe/releases/download/v0.4.0/figscribe-0.4.0-linux-x86_64.AppImage) | `chmod +x` it and run it. Needs `libxcb-cursor0` (Debian, Ubuntu) or `xcb-util-cursor` (Fedora), which most desktops have. |
|
|
54
|
+
| macOS (Apple silicon) | [figscribe-0.4.0-macos-arm64.dmg](https://github.com/f4ren/figscribe/releases/download/v0.4.0/figscribe-0.4.0-macos-arm64.dmg) | Open it and drag figscribe to Applications. Intel Macs: use pipx, below. |
|
|
55
|
+
| Windows 10/11 | [figscribe-0.4.0-windows-x64-setup.exe](https://github.com/f4ren/figscribe/releases/download/v0.4.0/figscribe-0.4.0-windows-x64-setup.exe) | Installs for you alone; no administrator needed. |
|
|
56
|
+
|
|
57
|
+
All releases: [github.com/f4ren/figscribe/releases](https://github.com/f4ren/figscribe/releases)
|
|
54
58
|
|
|
55
59
|
The installers are **not signed** yet, so the system asks you once:
|
|
56
60
|
|
|
@@ -99,15 +103,17 @@ To add an extra later, install again with `--force`. To update:
|
|
|
99
103
|
|
|
100
104
|
Start `figscribe`. The start page offers four ways in:
|
|
101
105
|
|
|
102
|
-
- **Open a data file** (CSV, `.npy`, `.npz`).
|
|
106
|
+
- **Open a data file** (CSV, Excel, LibreOffice Calc, HDF5, `.npy`, `.npz`).
|
|
107
|
+
The import dialog detects
|
|
103
108
|
delimiter, decimal comma, header and unit rows, shows a preview and suggests
|
|
104
|
-
a first plot, e.g. *U against t with error bars dU
|
|
109
|
+
a first plot, e.g. *U against t with error bars dU*; for HDF5 it shows the
|
|
110
|
+
file's groups and datasets to choose from.
|
|
105
111
|
- **Pick a layout**: single column (85 × 60 mm), double column
|
|
106
112
|
(175 × 70 mm), data with fit and residuals, two panels side by side, or a
|
|
107
113
|
16:9 slide.
|
|
108
114
|
- **Open an example** from the gallery: a Gaussian scan, a noisy sensor
|
|
109
115
|
with its means over the raw line, an RC discharge with fit and residuals,
|
|
110
|
-
a resonance, a
|
|
116
|
+
a resonance, a broken axis up to the zinc point and more, fifteen in all. Each is a copy in a
|
|
111
117
|
folder you choose, with its data, ready to change.
|
|
112
118
|
|
|
113
119
|
Then click anything in the figure or in the contents list to select it, and
|
|
@@ -122,6 +128,18 @@ script.
|
|
|
122
128
|
unit rows, and of the text encoding (UTF-8, or cp1252 and Latin-1 as older
|
|
123
129
|
Windows programs write them); NumPy `.npy` and `.npz` files (read without pickles, so a data
|
|
124
130
|
file cannot run code).
|
|
131
|
+
- Excel (`.xlsx`, `.xls`) and LibreOffice Calc (`.ods`) files as they are: one
|
|
132
|
+
sheet per data file, computed columns with the results saved in the file.
|
|
133
|
+
- HDF5 (`.h5`, `.hdf5`, `.he5`, `.nxs`) files: a group with its datasets as columns, a
|
|
134
|
+
table of records, or one dataset of one or two dimensions, with the units
|
|
135
|
+
from its attributes. Values kept in other files are not followed.
|
|
136
|
+
- A baseline fitted in given ranges and subtracted, values smoothed
|
|
137
|
+
(Savitzky–Golay or a moving average) and normalised to their maximum or area,
|
|
138
|
+
and peaks marked with their x; the script computes the same.
|
|
139
|
+
- Columns of dates and times (ISO text such as `2026-11-01 12:30`, date cells
|
|
140
|
+
of spreadsheets, `datetime64` in NumPy and HDF5 files) give a date axis;
|
|
141
|
+
*x in: h since the start* turns them into numbers. A time zone is read as
|
|
142
|
+
written, not converted.
|
|
125
143
|
- A data file is removed with the plots that draw from it, in one undo step;
|
|
126
144
|
figscribe asks first and names them.
|
|
127
145
|
- Each data file is recorded with its SHA-256. If it changes later,
|
|
@@ -205,6 +223,9 @@ script.
|
|
|
205
223
|
live, as you edit.
|
|
206
224
|
- *Help > About figscribe* names the versions of figscribe, Python,
|
|
207
225
|
Matplotlib and Qt, for a bug report.
|
|
226
|
+
- *Help > Check for Updates…* (or `figscribe check-update`) asks GitHub whether
|
|
227
|
+
there is a newer release, only when you ask. Nothing about you or your figures
|
|
228
|
+
is sent, and nothing is downloaded or installed by itself.
|
|
208
229
|
|
|
209
230
|
**Export**
|
|
210
231
|
- PDF, SVG, EPS, PNG and TIFF (LZW compressed, as journals ask) at the exact size,
|
|
@@ -216,8 +237,9 @@ script.
|
|
|
216
237
|
## The generated code
|
|
217
238
|
|
|
218
239
|
*File > Export Python Script…* (or `figscribe script PROJECT.figscribe -o
|
|
219
|
-
plot.py`) writes a script that needs only NumPy, Matplotlib
|
|
220
|
-
|
|
240
|
+
plot.py`) writes a script that needs only NumPy, Matplotlib, for fits and for
|
|
241
|
+
fewer points drawn SciPy, for spreadsheets python-calamine and for HDF5 files
|
|
242
|
+
h5py. It is written the way a person would write it:
|
|
221
243
|
no figscribe helpers, named variables, comments where they help. From the
|
|
222
244
|
example project's script (shortened):
|
|
223
245
|
|
|
@@ -380,8 +402,7 @@ Design decisions and their reasons are recorded in
|
|
|
380
402
|
|
|
381
403
|
## Scope
|
|
382
404
|
|
|
383
|
-
Planned beyond what exists:
|
|
384
|
-
number formats and inverted axes, a second x axis on top, more fit models and
|
|
405
|
+
Planned beyond what exists: several files as one series, a second x axis on top, more fit models and
|
|
385
406
|
a confidence band, step plots and bar charts, style templates for journals,
|
|
386
407
|
snapping and alignment guides, signed installers.
|
|
387
408
|
|