Graphs 1.7.0
Version 1.7 marks our biggest release yet. With a migration to GNOME 45 and a new UI overhaul with a revamped style editor.
Other major highlights include a new curve fitting functionality, the ability to open projects directly, and support for gestures in the canvas. A full changelog can be found below:
New in Graphs:
- The style editor has been revamped completely and now shows previews for each style
- Curve fitting functionality has been added to Graphs
- Graphs can now open data as well as Graphs project files directly from the file manager
- When closing the application while unsaved changes are present, a dialog is now shown allowing you to save the data
- The active project and its directory are now shown in the headerbar, including an indicator for unsaved changes
- Graphs now includes forwards/backwards buttons to quickly navigate to the next and previous view
- The smoothening action can now be configured with a choice of two different filters, a rolling average and a LOESS Savitzky-Gotsky filter
- A new Yaru style has been added, which is set as the default system style for the Snap package when Yaru is used in the system, offering a more consistent experience
- The default matplotlib style has been added to Graphs
- The title font size can now be changed with respect to the overall font size
- New scaling options are available for the axes, allowing for radian, square root and inverse scaling
- Transparent colors for the curves are now supported
- Superscript characters are now supported when entering equations
- Support has been added for cotangents, secants and cosecants for equations and transformations
- Headers are now written to exported files if present in the originally imported data
- Style sheets now allow you to choose whether a frame should be drawn around the axes
- The size of the title and labels can now be set separately in the style editor
- Importing column data is now more robust, supporting expressions as data points
- Pinch and ctrl+scroll to zoom gestures are now supported on the canvas
- The canvas can now be panned using two fingers on a touch screen, as well as with the middle mouse button
- Toasts now show an "Open Location" button when saving data, bringing you to the saved file location
- Translate/multiply entries now get a red CSS when input value is invalid, while the corresponding button is disabled
Changed behaviour:
- Several linguistic changes were made, to get a clearer and more consistent description
- The syntax for equations has been simplified
- Delimiters can now be specified from a dropdown menu instead of having to rely on regex
- The used axes limits are now saved when saving/loading a project
- Settings related to specific axes are now only displayed when the axis is in use
- The preferences have been redesigned and simplified, leaving only a single dialog for the figure settings
- The drag and drop animation when moving items has been improved
- The headerbar now follows the color of the used stylesheet, giving a more unified look
- The shortcuts have been modified to follow the rest of the GNOME ecosystem
- The logic for placing the legend has been changed, so that it now properly moves away when it intersects with a curve
- The behavior of the "Shift" action has been revamped to be more consistent when only part of the data span is selected
Bugfixes and changes under the hood:
- Graphs has been migrated to GNOME 45, and uses the new Libadwaita 1.4 widgets
- Number inputs are now handled safely without calling the Python eval function
- The clipboard implementation has been rewritten from scratch
- The scale buttons in the view menu are now properly changed when the scale has been changed from the figure settings
- Automatic scaling is now handled properly even when the dataset contains infinite values
- Graphs now uses unit tests, reducing the risk of regression bugs
- Part of the code-base has been migrated to Vala
- Fixed a bug where "Skip rows" did not work properly with single-column data
- Fixed a bug where rows would change width when selected in case they are adjacent to other entry rows
- Graphs translations are now hosted on Weblate
- More smaller changes and fixes throughout the code-base