Skip to content

Commit d424f9a

Browse files
authored
Clarify project function saving behavior and update screenshot (#10641)
2 parents d656868 + 420bdd4 commit d424f9a

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

docs/user_manual/expressions/expression.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ Function Editor
330330

331331
With the :guilabel:`Function Editor` tab, you are able to write your own functions
332332
in Python language. This provides a handy and comfortable way to address
333-
particular needs that would not be covered by the predefined functions.
333+
particular needs that would not be covered by the predefined functions. This also
334+
allows you to create and manage custom expressions for use in QGIS projects.
334335

335336
.. _figure_expression_function:
336337

@@ -339,7 +340,11 @@ particular needs that would not be covered by the predefined functions.
339340

340341
The Function Editor tab
341342

342-
To create a new function:
343+
.. note::
344+
File scripts are autosaved by default, however, project functions are stored within the project and
345+
require the project to be saved in order for changes to be preserved.
346+
347+
To create a new function:
343348

344349
#. Press the |symbologyAdd| :sup:`New File` button.
345350
#. Select where to store the new function. You can choose to save it either in a
@@ -374,12 +379,12 @@ To create a new function:
374379

375380
You will find in the :guilabel:`Help` widget general information
376381
for setting the @qgsfunction decorator.
377-
#. Press the |start| :guilabel:`Save and Load Functions` button.
382+
#. Press the |start| :guilabel:`Load or update functions` button.
378383
The function you wrote is added to the functions tree in the :guilabel:`Expression` tab,
379384
by default under the ``Custom`` group.
380385
#. Enjoy your new function.
381386
#. If the function requires improvements, enable the :guilabel:`Function Editor` tab,
382-
do the changes and press again the |start| :guilabel:`Save and Load Functions` button
387+
do the changes and press again the |start| :guilabel:`Load or update functions` button
383388
to make them available in the file, hence in any expression tab.
384389

385390
To delete a custom function:
21.9 KB
Loading

docs/user_manual/processing_algs/qgis/plots.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Generates a polar bar plot based on the value of an input vector layer.
466466
.. figure:: img/polar_plot_example.png
467467
:align: center
468468

469-
Example of polar plot
469+
Example of polar (bar) plot
470470

471471
Parameters
472472
..........

0 commit comments

Comments
 (0)